[ https://issues.apache.org/jira/browse/HIVE-15862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860060#comment-15860060 ]
Hive QA commented on HIVE-15862: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12851856/HIVE-15862.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3469/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3469/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3469/ 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' 2017-02-09 19:38:42.637 + [[ -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-3469/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' 2017-02-09 19:38:42.640 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 36ff484 HIVE-15851 CompactorMR.launchCompactionJob() should use JobClient.submitJob() not runJob (Eugene Koifman, reviewed by Wei Zheng) + git clean -f -d + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 36ff484 HIVE-15851 CompactorMR.launchCompactionJob() should use JobClient.submitJob() not runJob (Eugene Koifman, reviewed by Wei Zheng) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-02-09 19:38:43.878 + 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: patch failed: beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java:71 error: beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java: patch does not apply The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12851856 - PreCommit-HIVE-Build > beeline always have a warning "Hive does not support autoCommit=false" > ---------------------------------------------------------------------- > > Key: HIVE-15862 > URL: https://issues.apache.org/jira/browse/HIVE-15862 > Project: Hive > Issue Type: Bug > Components: Beeline > Affects Versions: 2.1.0 > Environment: hive2.1.0 > Reporter: yangfang > Assignee: yangfang > Attachments: HIVE-15862.1.patch > > > When we use beeline, there is always a warning::"Request to set autoCommit to > false; Hive does not support autoCommit=false", > For example, we use beeline excute a sql: > beeline -u "jdbc:hive2://localhost:10000/default" -n mr -e "show tables" > --hivevar taskNO=10111, we got this warning. > When I looked at the hive source code, I found the BeeLineOpts set the > autoCommit default value to false, It always triggers an alarm when beeline > connect to the hiveserver2 in DatabaseConnection.connect: > getConnection().setAutoCommit(beeLine.getOpts().getAutoCommit()); -- This message was sent by Atlassian JIRA (v6.3.15#6346)