[ https://issues.apache.org/jira/browse/HIVE-20921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767837#comment-16767837 ]
Hive QA commented on HIVE-20921: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12958634/HIVE-20921.branch-2.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16065/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16065/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16065/ 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-02-14 02:59:07.089 + [[ -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-16065/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z branch-2.1 ]] + [[ -d apache-github-branch-2.1-source ]] + [[ ! -d apache-github-branch-2.1-source/.git ]] + [[ ! -d apache-github-branch-2.1-source ]] + date '+%Y-%m-%d %T.%3N' 2019-02-14 02:59:07.162 + cd apache-github-branch-2.1-source + git fetch origin >From https://github.com/apache/hive 0083145..0b8cfa7 branch-2 -> origin/branch-2 4663e50..c791b90 branch-3 -> origin/branch-3 15eca86..008eda8 branch-3.1 -> origin/branch-3.1 6fbdf37..292f6bb master -> origin/master + git reset --hard HEAD HEAD is now at 292a98f HIVE-16480: Empty vector batches of floats or doubles gets EOFException (Owen O'Malley via Jesus Camacho Rodriguez) + git clean -f -d + git checkout branch-2.1 Already on 'branch-2.1' Your branch is up-to-date with 'origin/branch-2.1'. + git reset --hard origin/branch-2.1 HEAD is now at 292a98f HIVE-16480: Empty vector batches of floats or doubles gets EOFException (Owen O'Malley via Jesus Camacho Rodriguez) + git merge --ff-only origin/branch-2.1 Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-02-14 02:59:29.176 + rm -rf ../yetus_PreCommit-HIVE-Build-16065 + mkdir ../yetus_PreCommit-HIVE-Build-16065 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-16065 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16065/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/txn/TxnHandler.java: does not exist in index error: a/metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java: does not exist in index Going to apply patch with: git apply -p1 + [[ maven == \m\a\v\e\n ]] + rm -rf /data/hiveptest/working/maven/org/apache/hive + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=/data/hiveptest/working/maven [ERROR] Failed to execute goal on project hive-shims-common: Could not resolve dependencies for project org.apache.hive.shims:hive-shims-common:jar:2.1.2-SNAPSHOT: Could not find artifact org.apache.hadoop:hadoop-hdfs:jar:2.6.1 in datanucleus (http://www.datanucleus.org/downloads/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hive-shims-common + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-16065 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12958634 - PreCommit-HIVE-Build > Oracle backed DbLockManager fail when drop/truncate acid table with large > partitions > ------------------------------------------------------------------------------------ > > Key: HIVE-20921 > URL: https://issues.apache.org/jira/browse/HIVE-20921 > Project: Hive > Issue Type: Bug > Components: Locking > Reporter: Daniel Dai > Assignee: Daniel Dai > Priority: Major > Attachments: HIVE-20921.branch-2.1.patch > > > Stack: > {code} > org.apache.hive.service.cli.HiveSQLException: Error while processing > statement: FAILED: Error in acquiring locks: Error communicating with the > metastore > at > org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:324) > > at > org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:199) > > at > org.apache.hive.service.cli.operation.SQLOperation.access$300(SQLOperation.java:76) > > at > org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:255) > > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869) > at > org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:266) > > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.hadoop.hive.ql.lockmgr.LockException: Error > communicating with the metastore > at > org.apache.hadoop.hive.ql.lockmgr.DbLockManager.lock(DbLockManager.java:177) > at > org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocks(DbTxnManager.java:357) > > at > org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocksWithHeartbeatDelay(DbTxnManager.java:373) > > at > org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.acquireLocks(DbTxnManager.java:182) > > at org.apache.hadoop.hive.ql.Driver.acquireLocksAndOpenTxn(Driver.java:1082) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1284) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1161) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1156) > at > org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:197) > > ... 11 more > Caused by: MetaException(message:How did we get here, we heartbeated our lock > before we started! ( lockid:466073 intLockId:701 txnid:0 db:v5x2442 > table:tbstcnf_load_stg_step > partition:src_system_cd=MAXIMO/src_hostname_cd=PRD1310/src_table_name=LABTRANS > state:WAITING type:EXCLUSIVE)) > at > org.apache.hadoop.hive.metastore.txn.TxnHandler.checkLock(TxnHandler.java:2642) > > at > org.apache.hadoop.hive.metastore.txn.TxnHandler.checkLock(TxnHandler.java:1187) > > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.check_lock(HiveMetaStore.java:6161) > > at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) > > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:105) > > at com.sun.proxy.$Proxy14.check_lock(Unknown Source) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.checkLock(HiveMetaStoreClient.java:1984) > > at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:178) > > at com.sun.proxy.$Proxy15.checkLock(Unknown Source) > at > org.apache.hadoop.hive.ql.lockmgr.DbLockManager.lock(DbLockManager.java:114) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)