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 2019/06/14 14:09:00 UTC

[jira] [Commented] (HIVE-21873) Hive Cann't drop table in different hdfs clusters

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

Hive QA commented on HIVE-21873:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12971774/fix_drop_table_in_multiclusters_bug.patch

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

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

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'
2019-06-14 14:07:59.857
+ [[ -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-17575/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'
2019-06-14 14:07:59.860
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at c6a2d79 HIVE-21812: Implement get partition related methods on temporary tables (Laszlo Pinter, reviewed by Marta Kuczora, Adam Szita) addendum #1
+ 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 c6a2d79 HIVE-21812: Implement get partition related methods on temporary tables (Laszlo Pinter, reviewed by Marta Kuczora, Adam Szita) addendum #1
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-06-14 14:08:01.156
+ rm -rf ../yetus_PreCommit-HIVE-Build-17575
+ mkdir ../yetus_PreCommit-HIVE-Build-17575
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-17575
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17575/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/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: does not exist in index
error: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: does not exist in index
error: src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: does not exist in index
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-17575
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12971774 - PreCommit-HIVE-Build

> Hive Cann't drop table in different hdfs clusters
> -------------------------------------------------
>
>                 Key: HIVE-21873
>                 URL: https://issues.apache.org/jira/browse/HIVE-21873
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5
>            Reporter: Deng ZiWu
>            Priority: Major
>             Fix For: 2.3.3
>
>         Attachments: fix_drop_table_in_multiclusters_bug.patch
>
>
> Hive Cann't drop table in different hdfs clusters
> org.apache.hadoop.hive.metastore.HiveMetaStore
> in method
> checkTrashPurgeCombination()
> ShimLoader.getHadoopShims().createHdfsEncryptionShim(FileSystem.get(hiveConf), hiveConf);
>  
> should be
> ShimLoader.getHadoopShims().createHdfsEncryptionShim(wh.getFs(pathToData), hiveConf);
>  
> Because you want to delete the target fs data, not the default fs data



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