[ https://issues.apache.org/jira/browse/HIVE-16484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310290#comment-16310290 ]
Hive QA commented on HIVE-16484: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12904293/HIVE-16484.8.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8424/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8424/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8424/ 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' 2018-01-03 21:09:26.686 + [[ -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-8424/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' 2018-01-03 21:09:26.690 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive d015656..006d69d master -> origin/master + git reset --hard HEAD HEAD is now at d015656 HIVE-17929: Use sessionId for HoS Remote Driver Client id (Sahil Takiar, reviewed by Rui Li) + git clean -f -d + git checkout master Already on 'master' Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at 006d69d HIVE-18360 : NPE in TezSessionState (Sergey Shelukhin, reviewed by Jason Dere) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2018-01-03 21:09:30.024 + rm -rf ../yetus + mkdir ../yetus + cp -R . ../yetus + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-8424/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/spark-client/src/main/java/org/apache/hive/spark/client/RemoteDriver.java: does not exist in index error: a/spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java: does not exist in index error: a/spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java: does not exist in index error: a/spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java: does not exist in index error: patch failed: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java:84 Falling back to three-way merge... Applied patch to 'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java' with conflicts. error: patch failed: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java:82 Falling back to three-way merge... Applied patch to 'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java' with conflicts. error: patch failed: spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java:307 Falling back to three-way merge... Applied patch to 'spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java' with conflicts. Going to apply patch with: git apply -p1 error: patch failed: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java:84 Falling back to three-way merge... Applied patch to 'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java' with conflicts. error: patch failed: spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java:82 Falling back to three-way merge... Applied patch to 'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java' with conflicts. error: patch failed: spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java:307 Falling back to three-way merge... Applied patch to 'spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java' with conflicts. U spark-client/src/main/java/org/apache/hive/spark/client/SparkClientFactory.java U spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.java U spark-client/src/test/java/org/apache/hive/spark/client/TestSparkClient.java + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12904293 - PreCommit-HIVE-Build > Investigate SparkLauncher for HoS as alternative to bin/spark-submit > -------------------------------------------------------------------- > > Key: HIVE-16484 > URL: https://issues.apache.org/jira/browse/HIVE-16484 > Project: Hive > Issue Type: Bug > Components: Spark > Reporter: Sahil Takiar > Assignee: Sahil Takiar > Attachments: HIVE-16484.1.patch, HIVE-16484.2.patch, > HIVE-16484.3.patch, HIVE-16484.4.patch, HIVE-16484.5.patch, > HIVE-16484.6.patch, HIVE-16484.7.patch, HIVE-16484.8.patch > > > The {{SparkClientImpl#startDriver}} currently looks for the {{SPARK_HOME}} > directory and invokes the {{bin/spark-submit}} script, which spawns a > separate process to run the Spark application. > {{SparkLauncher}} was added in SPARK-4924 and is a programatic way to launch > Spark applications. > I see a few advantages: > * No need to spawn a separate process to launch a HoS --> lower startup time > * Simplifies the code in {{SparkClientImpl}} --> easier to debug > * {{SparkLauncher#startApplication}} returns a {{SparkAppHandle}} which > contains some useful utilities for querying the state of the Spark job > ** It also allows the launcher to specify a list of job listeners -- This message was sent by Atlassian JIRA (v6.4.14#64029)