[ https://issues.apache.org/jira/browse/HIVE-20517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616621#comment-16616621 ]
Hive QA commented on HIVE-20517: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12939824/HIVE-20517.03.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13824/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13824/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13824/ 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-09-16 07:26:27.507 + [[ -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-13824/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-09-16 07:26:27.511 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive 37120b8..45163ee master -> origin/master b4e552d..550cc61 branch-3 -> origin/branch-3 + git reset --hard HEAD HEAD is now at 37120b8 Missed files: HIVE-20524: Schema Evolution checking is broken in going from Hive version 2 to version 3 for ALTER TABLE VARCHAR to DECIMAL + git clean -f -d Removing standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at 45163ee HIVE-20202: Add profiler endpoint to HS2 and LLAP (Prasanth Jayachandran reviewed by Gopal V, Ashutosh Chauhan) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2018-09-16 07:26:28.837 + rm -rf ../yetus_PreCommit-HIVE-Build-13824 + mkdir ../yetus_PreCommit-HIVE-Build-13824 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-13824 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-13824/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/itests/hive-unit/src/test/java/org/apache/hadoop/hive/UtilsForTest.java: does not exist in index error: a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenarios.java: does not exist in index error: a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java: does not exist in index error: a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java: does not exist in index error: a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/TestEmbeddedThriftBinaryCLIService.java: does not exist in index error: a/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecDriver.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HivePointLookupOptimizerRule.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CreateFunctionHandler.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/ReplCopyWork.java: does not exist in index error: a/ql/src/java/org/apache/hadoop/hive/ql/session/OperationLog.java: does not exist in index error: a/ql/src/test/org/apache/hadoop/hive/ql/optimizer/calcite/rules/TestHivePointLookupOptimizerRule.java: does not exist in index error: a/ql/src/test/org/apache/hadoop/hive/ql/parse/repl/load/message/TestPrimaryToReplicaResourceFunction.java: does not exist in index error: a/ql/src/test/results/clientpositive/druid/druidmini_test_ts.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/llap/bucketpruning1.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/spark/query15.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/spark/query47.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/spark/query57.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/tez/query15.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/tez/query47.q.out: does not exist in index error: a/ql/src/test/results/clientpositive/perf/tez/query57.q.out: does not exist in index error: a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java: does not exist in index error: a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/InjectableBehaviourObjectStore.java: does not exist in index error: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java: does not exist in index error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index error: hive-unit/src/test/java/org/apache/hadoop/hive/UtilsForTest.java: does not exist in index error: hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenarios.java: does not exist in index error: hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java: does not exist in index error: hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java: does not exist in index error: hive-unit/src/test/java/org/apache/hive/service/cli/TestEmbeddedThriftBinaryCLIService.java: does not exist in index error: util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/mr/ExecDriver.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HivePointLookupOptimizerRule.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CreateFunctionHandler.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/plan/LoadTableDesc.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/plan/ReplCopyWork.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/session/OperationLog.java: does not exist in index error: src/test/org/apache/hadoop/hive/ql/optimizer/calcite/rules/TestHivePointLookupOptimizerRule.java: does not exist in index error: src/test/org/apache/hadoop/hive/ql/parse/repl/load/message/TestPrimaryToReplicaResourceFunction.java: does not exist in index error: src/test/results/clientpositive/druid/druidmini_test_ts.q.out: does not exist in index error: src/test/results/clientpositive/llap/bucketpruning1.q.out: does not exist in index error: src/test/results/clientpositive/perf/spark/query15.q.out: does not exist in index error: src/test/results/clientpositive/perf/spark/query47.q.out: does not exist in index error: src/test/results/clientpositive/perf/spark/query57.q.out: does not exist in index error: src/test/results/clientpositive/perf/tez/query15.q.out: does not exist in index error: src/test/results/clientpositive/perf/tez/query47.q.out: does not exist in index error: src/test/results/clientpositive/perf/tez/query57.q.out: does not exist in index error: metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java: does not exist in index error: metastore-server/src/test/java/org/apache/hadoop/hive/metastore/InjectableBehaviourObjectStore.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-13824 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12939824 - PreCommit-HIVE-Build > Creation of staging directory and Move operation is taking time in S3 > --------------------------------------------------------------------- > > Key: HIVE-20517 > URL: https://issues.apache.org/jira/browse/HIVE-20517 > Project: Hive > Issue Type: Sub-task > Components: repl > Affects Versions: 4.0.0 > Reporter: mahesh kumar behera > Assignee: mahesh kumar behera > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-20517.01.patch, HIVE-20517.02.patch, > HIVE-20517.03.patch > > > Operations like insert and add partition creates a staging directory to > generate the files and then move the files created to actual location. In > replication flow, the files are first copied to the staging directory and > then moved (rename) to the actual table location. In case of S3, move is not > an atomic operation. It internally does a copy and delete. So it can not > guarantee the consistency required. So it is better to copy the files > directly to the actual location. This will help in avoiding the staging > directory creation (which takes 1-2 seconds in s3) and move (which takes time > proportional to file size). -- This message was sent by Atlassian JIRA (v7.6.3#76005)