[ https://issues.apache.org/jira/browse/HIVE-12374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913993#comment-16913993 ]
Hive QA commented on HIVE-12374: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12771592/HIVE-12374.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18384/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18384/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18384/ 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-08-23 06:49:46.829 + [[ -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-18384/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-08-23 06:49:46.832 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at db59ec6 HIVE-21580: Introduce ISO 8601 week numbering SQL:2016 formats (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 db59ec6 HIVE-21580: Introduce ISO 8601 week numbering SQL:2016 formats (Karen Coppage via Marta Kuczora) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-08-23 06:49:47.462 + rm -rf ../yetus_PreCommit-HIVE-Build-18384 + mkdir ../yetus_PreCommit-HIVE-Build-18384 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-18384 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-18384/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/bin/ext/hiveserver2.sh: does not exist in index error: a/bin/ext/metastore.sh: does not exist in index error: a/conf/hive-env.sh.template: does not exist in index error: patch failed: bin/ext/hiveserver2.sh:17 Falling back to three-way merge... Applied patch to 'bin/ext/hiveserver2.sh' with conflicts. error: patch failed: bin/ext/metastore.sh:17 Falling back to three-way merge... Applied patch to 'bin/ext/metastore.sh' with conflicts. error: patch failed: conf/hive-env.sh.template:50 Falling back to three-way merge... Applied patch to 'conf/hive-env.sh.template' cleanly. Going to apply patch with: git apply -p1 error: patch failed: bin/ext/hiveserver2.sh:17 Falling back to three-way merge... Applied patch to 'bin/ext/hiveserver2.sh' with conflicts. error: patch failed: bin/ext/metastore.sh:17 Falling back to three-way merge... Applied patch to 'bin/ext/metastore.sh' with conflicts. error: patch failed: conf/hive-env.sh.template:50 Falling back to three-way merge... Applied patch to 'conf/hive-env.sh.template' cleanly. U bin/ext/hiveserver2.sh U bin/ext/metastore.sh + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-18384 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12771592 - PreCommit-HIVE-Build > Improve setting of JVM configs for HS2 and Metastore shell scripts > ------------------------------------------------------------------- > > Key: HIVE-12374 > URL: https://issues.apache.org/jira/browse/HIVE-12374 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, Metastore > Reporter: Vaibhav Gumashta > Priority: Major > Attachments: HIVE-12374.1.patch > > > Adding {{HIVESERVER2_JVM_OPTS}} and {{METASTORE_JVM_OPTS}} env variables, > which will eventually set {{HADOOP_CLIENT_OPTS}} (since we start the > processes using hadoop jar ...). Also setting these defaults:{{-Xms128m > -Xmx2048m -XX:MaxPermSize=128m}}. -- This message was sent by Atlassian Jira (v8.3.2#803003)