[ https://issues.apache.org/jira/browse/HIVE-20707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641564#comment-16641564 ]
Hive QA commented on HIVE-20707: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12942766/HIVE-20707.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14309/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14309/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14309/ 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-10-08 09:05:40.280 + [[ -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-14309/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-10-08 09:05:40.283 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 61a027a HIVE-20623: Shared work: Extend sharing of map-join cache entries in LLAP (Jesus Camacho Rodriguez, reviewed by Gopal V) + 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 61a027a HIVE-20623: Shared work: Extend sharing of map-join cache entries in LLAP (Jesus Camacho Rodriguez, reviewed by Gopal V) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2018-10-08 09:05:41.036 + rm -rf ../yetus_PreCommit-HIVE-Build-14309 + mkdir ../yetus_PreCommit-HIVE-Build-14309 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-14309 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-14309/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/conf/HiveConf.java: does not exist in index error: a/data/conf/hive-site.xml: does not exist in index error: a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/CheckResult.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java: does not exist in index error: a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestMsckCreatePartitionsInBatches.java: does not exist in index error: a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestMsckDropPartitionsInBatches.java: does not exist in index error: a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreChecker.java: does not exist in index error: a/ql/src/test/results/clientpositive/msck_repair_drop.q.out: does not exist in index error: a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java: does not exist in index error: a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java: does not exist in index error: a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java: does not exist in index error: a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java: does not exist in index error: patch failed: ql/src/test/results/clientpositive/msck_repair_drop.q.out:58 error: repository lacks the necessary blob to fall back on 3-way merge. error: ql/src/test/results/clientpositive/msck_repair_drop.q.out: patch does not apply error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index error: patch failed: conf/hive-site.xml:349 Falling back to three-way merge... Applied patch to 'conf/hive-site.xml' with conflicts. error: hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/metadata/CheckResult.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java: does not exist in index error: src/test/org/apache/hadoop/hive/ql/exec/TestMsckCreatePartitionsInBatches.java: does not exist in index error: src/test/org/apache/hadoop/hive/ql/exec/TestMsckDropPartitionsInBatches.java: does not exist in index error: src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreChecker.java: does not exist in index error: src/test/results/clientpositive/msck_repair_drop.q.out: does not exist in index error: metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java: does not exist in index error: metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java: does not exist in index error: metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java: does not exist in index error: metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.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-14309 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12942766 - PreCommit-HIVE-Build > Automatic MSCK REPAIR for external tables > ----------------------------------------- > > Key: HIVE-20707 > URL: https://issues.apache.org/jira/browse/HIVE-20707 > Project: Hive > Issue Type: New Feature > Affects Versions: 4.0.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-20707.1.patch > > > In current scenario, to add partitions for external tables to metastore, MSCK > REPAIR command has to be executed manually. To avoid this manual step, > external tables can be specified a table property based on which a background > metastore thread can add/drop/sync partitions periodically. -- This message was sent by Atlassian JIRA (v7.6.3#76005)