[ https://issues.apache.org/jira/browse/HIVE-14926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergio Peña updated HIVE-14926: ------------------------------- Comment: was deleted (was: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12833201/HIVE-14926.2.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1547/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1547/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-1547/ 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' 2016-10-14 03:02:14.908 + [[ -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 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-1547/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' 2016-10-14 03:02:14.910 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive b9e8157..eacf9f9 hive-14535 -> origin/hive-14535 + git reset --hard HEAD HEAD is now at 10b866a HIVE-13798: Fix the unit test failure org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ivyDownload (Aihua Xu, reviewed by Ashutosh Chauhan) (addendum) + git clean -f -d + git checkout master Switched to branch 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 5353161 HIVE-14835: Improve ptest2 build time (Prasanth Jayachandran reviewed by Sergio Pena) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2016-10-14 03:02:17.719 + 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 /data/hiveptest/working/scratch/smart-apply-patch.sh: line 44: patch: command not found /data/hiveptest/working/scratch/smart-apply-patch.sh: line 82: patch: command not found /data/hiveptest/working/scratch/smart-apply-patch.sh: line 84: patch: command not found error: a/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java: No such file or directory error: a/beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java: No such file or directory error: a/itests/hive-unit/src/test/java/org/apache/hive/beeline/TestSchemaTool.java: No such file or directory error: a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java: No such file or directory The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12833201 - PreCommit-HIVE-Build) > Keep Schema in consistent state where schemaTool fails or succeeds. > --------------------------------------------------------------------- > > Key: HIVE-14926 > URL: https://issues.apache.org/jira/browse/HIVE-14926 > Project: Hive > Issue Type: Improvement > Components: Database/Schema > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-14926.1.patch, HIVE-14926.2.patch > > > SchemaTool uses autocommit right now when executing the upgrade or init > scripts. Seems we should use database transaction to commit or roll back to > keep schema consistent. -- This message was sent by Atlassian JIRA (v6.3.4#6332)