[
https://issues.apache.org/jira/browse/HIVE-16484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308400#comment-16308400
]
Hive QA commented on HIVE-16484:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12865595/HIVE-16484.7.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8398/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8398/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8398/
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-02 17:27:43.925
+ [[ -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-8398/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-02 17:27:43.929
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 4ecf2a7 HIVE-18149: addendum; update missed TestAcidOnTez
+ 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 4ecf2a7 HIVE-18149: addendum; update missed TestAcidOnTez
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-01-02 17:27:44.476
+ rm -rf ../yetus
+ mkdir ../yetus
+ cp -R . ../yetus
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-8398/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:75
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:24
Falling back to three-way merge...
Applied patch to
'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.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:75
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:24
Falling back to three-way merge...
Applied patch to
'spark-client/src/main/java/org/apache/hive/spark/client/SparkClientImpl.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
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12865595 - 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
>
>
> 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)