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 2018/05/09 08:07:00 UTC

[jira] [Commented] (HIVE-19456) Beeline dfs command Error: Error while processing statement: (state=,code=1)

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

Hive QA commented on HIVE-19456:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12922419/HIVE-19456.0.patch

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

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

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-05-09 08:04:22.881
+ [[ -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-10777/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'
2018-05-09 08:04:22.884
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 99a2b8b HIVE-19312 : MM tables don't work with BucketizedHIF (Sergey Shelukhin, reviewed by Gunther Hagleitner) ADDENDUM
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 99a2b8b HIVE-19312 : MM tables don't work with BucketizedHIF (Sergey Shelukhin, reviewed by Gunther Hagleitner) ADDENDUM
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-05-09 08:04:26.393
+ rm -rf ../yetus_PreCommit-HIVE-Build-10777
+ mkdir ../yetus_PreCommit-HIVE-Build-10777
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-10777
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-10777/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/ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java: does not exist in index
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java' with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java' with conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/processors/DfsProcessor.java
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12922419 - PreCommit-HIVE-Build

> Beeline dfs command Error: Error while processing statement: (state=,code=1)
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-19456
>                 URL: https://issues.apache.org/jira/browse/HIVE-19456
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.2.1, 2.3.2
>            Reporter: chuanjie.duan
>            Priority: Major
>         Attachments: HIVE-19456.0.patch
>
>
> Reproduce steps:
>  # hdfs dfs -chmod 750 /tmp/aaa  (user:test)
>  # beeline login with user test1
>  # beeline "dfs -ls /tmp/aaa"
>  # Error: Error while processing statement: (state=,code=1)
> Cause:
> beeline "dfs" command would call fsshell, fsshell just err.print(errmsg) and return "null" value when catching exception



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