hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19708) Repl copy retrying with cm path even if the failure is due to network issue
Date Wed, 06 Jun 2018 05:27:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-19708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502834#comment-16502834
] 

Hive QA commented on HIVE-19708:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12926542/HIVE-19708.06-branch-3.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11544/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11544/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11544/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and
output '+ date '+%Y-%m-%d %T.%3N'
2018-06-06 05:26:16.499
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-11544/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z branch-3 ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2018-06-06 05:26:16.501
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 0992d82 HIVE-19773 : CBO exception while running queries with tables that are
not present in materialized views (Jesus Camacho Rodriguez via Ashutosh Chauhan)
+ git clean -f -d
+ git checkout branch-3
Switched to branch 'branch-3'
Your branch is up-to-date with 'origin/branch-3'.
+ git reset --hard origin/branch-3
HEAD is now at 8d9f749 HIVE-19772: Streaming ingest V2 API can generate invalid orc file if
interrupted (Prasanth Jayachandran reviewed by Gopal V)
+ git merge --ff-only origin/branch-3
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-06 05:26:17.544
+ rm -rf ../yetus_PreCommit-HIVE-Build-11544
+ mkdir ../yetus_PreCommit-HIVE-Build-11544
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-11544
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-11544/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch
error: a/common/src/java/org/apache/hadoop/hive/common/FileUtils.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java: does
not exist in index
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java:20
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java'
with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java:20
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java'
with conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-11544
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12926542 - PreCommit-HIVE-Build

> Repl copy retrying with cm path even if the failure is due to network issue
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-19708
>                 URL: https://issues.apache.org/jira/browse/HIVE-19708
>             Project: Hive
>          Issue Type: Task
>          Components: Hive, HiveServer2, repl
>    Affects Versions: 3.1.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-19708.01.patch, HIVE-19708.02.patch, HIVE-19708.04.patch, HIVE-19708.05.patch,
HIVE-19708.06-branch-3.patch, HIVE-19708.06.patch
>
>
> * During repl load
>  ** for filesystem based copying of file if the copy fails due to a connection error
to source Name Node, we should recreate the filesystem object.
>  ** the retry logic for local file copy should be triggered using the original source
file path ( and not the CM root path ) since failure can be due to network issues between
DFSClient and NN.
>  * When listing files in tables / partition to include them in _files, we should add
retry logic when failure occurs. FileSystem object here also should be recreated since the
existing one might be in inconsistent state.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message