You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (Jira)" <ji...@apache.org> on 2020/04/27 13:10:00 UTC

[jira] [Commented] (HIVE-21683) ProxyFileSystem breaks with Hadoop trunk

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

Hive QA commented on HIVE-21683:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12969187/hive-21683.patch

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

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

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'
2020-04-27 13:08:32.666
+ [[ -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-21968/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2020-04-27 13:08:32.669
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at d6ad73c HIVE-23286: The clean-up in case of an aborted FileSinkOperator is not correct for ACID direct insert (Marta Kuczora, reviewed by Peter Vary)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at d6ad73c HIVE-23286: The clean-up in case of an aborted FileSinkOperator is not correct for ACID direct insert (Marta Kuczora, reviewed by Peter Vary)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-04-27 13:08:34.001
+ rm -rf ../yetus_PreCommit-HIVE-Build-21968
+ mkdir ../yetus_PreCommit-HIVE-Build-21968
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-21968
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-21968/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
Trying to apply the patch with -p0
error: a/pom.xml: does not exist in index
error: a/shims/0.23/pom.xml: does not exist in index
error: a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java: does not exist in index
error: a/shims/common/src/main/java/org/apache/hadoop/fs/ProxyFileSystem.java: does not exist in index
Trying to apply the patch with -p1
error: patch failed: pom.xml:177
Falling back to three-way merge...
Applied patch to 'pom.xml' with conflicts.
error: patch failed: shims/0.23/pom.xml:46
Falling back to three-way merge...
Applied patch to 'shims/0.23/pom.xml' with conflicts.
error: patch failed: shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:37
Falling back to three-way merge...
Applied patch to 'shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java' with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: pom.xml:177
Falling back to three-way merge...
Applied patch to 'pom.xml' with conflicts.
error: patch failed: shims/0.23/pom.xml:46
Falling back to three-way merge...
Applied patch to 'shims/0.23/pom.xml' with conflicts.
error: patch failed: shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:37
Falling back to three-way merge...
Applied patch to 'shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java' with conflicts.
U pom.xml
U shims/0.23/pom.xml
U shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-21968
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12969187 - PreCommit-HIVE-Build

> ProxyFileSystem breaks with Hadoop trunk
> ----------------------------------------
>
>                 Key: HIVE-21683
>                 URL: https://issues.apache.org/jira/browse/HIVE-21683
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>         Attachments: hive-21683-javassist.patch, hive-21683-simple.patch, hive-21683.patch
>
>
> When trying to run with a recent build of Hadoop which includes HADOOP-15229 I ran into the following stack:
> {code}
> Caused by: java.lang.IllegalArgumentException: Wrong FS: pfile:/src/hive/itests/qtest/target/warehouse/src/kv1.txt, expected: file:///
>         at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:793) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:86) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:636) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:930) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:631) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:456) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:153) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:354) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.ChecksumFileSystem.lambda$openFileWithOptions$0(ChecksumFileSystem.java:846) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.util.LambdaUtils.eval(LambdaUtils.java:52) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.ChecksumFileSystem.openFileWithOptions(ChecksumFileSystem.java:845) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.fs.FileSystem$FSDataInputStreamBuilder.build(FileSystem.java:4522) ~[hadoop-common-3.1.1.6.0.99.0-135.jar:?]
>         at org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:115) ~[hadoop-mapreduce-client-core-3.1.1.6.0.99.0-135.jar:?]{code}
> We need to add appropriate path-swizzling wrappers for the new APIs in ProxyFileSystem23



--
This message was sent by Atlassian Jira
(v8.3.4#803005)