[ https://issues.apache.org/jira/browse/HIVE-21438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882259#comment-16882259 ]
Hive QA commented on HIVE-21438: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12962456/0001-HIVE-21348-Add-currentTransactionBatch-and-staticPar.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17943/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17943/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17943/ 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-07-10 16:54:06.654 + [[ -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-17943/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-07-10 16:54:06.657 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at de6d005 HIVE-21868: Vectorize CAST...FORMAT (Karen Coppage via Marta Kuczora) + 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 de6d005 HIVE-21868: Vectorize CAST...FORMAT (Karen Coppage via Marta Kuczora) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-07-10 16:54:07.535 + rm -rf ../yetus_PreCommit-HIVE-Build-17943 + mkdir ../yetus_PreCommit-HIVE-Build-17943 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-17943 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17943/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/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java: does not exist in index error: a/streaming/src/java/org/apache/hive/streaming/TransactionBatch.java: does not exist in index error: a/streaming/src/java/org/apache/hive/streaming/UnManagedSingleTransaction.java: does not exist in index error: patch failed: streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java:146 Falling back to three-way merge... Applied patch to 'streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java' with conflicts. Going to apply patch with: git apply -p1 error: patch failed: streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java:146 Falling back to three-way merge... Applied patch to 'streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java' with conflicts. U streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-17943 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12962456 - PreCommit-HIVE-Build > HiveStreamingConnection.toString doesn't print transaction batch > ---------------------------------------------------------------- > > Key: HIVE-21438 > URL: https://issues.apache.org/jira/browse/HIVE-21438 > Project: Hive > Issue Type: Improvement > Components: Streaming > Affects Versions: 3.1.1 > Reporter: Stig Rohde Døssing > Assignee: Stig Rohde Døssing > Priority: Minor > Labels: pull-request-available > Attachments: > 0001-HIVE-21348-Add-currentTransactionBatch-and-staticPar.patch > > Time Spent: 10m > Remaining Estimate: 0h > > HiveStreamingConnection.toString doesn't contain the current transaction > state. In hive-hcatalog-streaming, the transaction batch was exposed to the > user, which allowed the application to log e.g. transaction id and state when > errors occur. Some exceptions from TransactionBatch contain the current > transaction id, but many don't. > It would be nice if HiveStreamingConnection.toString also included the > currentTransactionBatch.toString. -- This message was sent by Atlassian JIRA (v7.6.3#76005)