You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2016/12/05 04:25:58 UTC
[jira] [Resolved] (SPARK-18643) SparkR hangs at session start when
installed as a package without SPARK_HOME set
[ https://issues.apache.org/jira/browse/SPARK-18643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shivaram Venkataraman resolved SPARK-18643.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Issue resolved by pull request 16077
[https://github.com/apache/spark/pull/16077]
> SparkR hangs at session start when installed as a package without SPARK_HOME set
> --------------------------------------------------------------------------------
>
> Key: SPARK-18643
> URL: https://issues.apache.org/jira/browse/SPARK-18643
> Project: Spark
> Issue Type: Bug
> Components: SparkR
> Affects Versions: 2.1.0
> Reporter: Felix Cheung
> Assignee: Felix Cheung
> Priority: Critical
> Fix For: 2.1.0
>
>
> 1) Install SparkR from source package, ie.
> R CMD INSTALL SparkR_2.1.0.tar.gz
> 2) Start SparkR (not from sparkR shell)
> library(SparkR)
> sparkR.session()
> Notice SparkR hangs when it couldn't find spark-submit to launch the JVM backend.
> {code}
> Launching java with spark-submit command spark-submit sparkr-shell /tmp/RtmpYbAYt5/backend_port5849dc2273
> sh: 1: spark-submit: not found
> {code}
> If SparkR is running as a package and it has previously downloaded Spark Jar it should be able to run as before without having to set SPARK_HOME. Basically with this bug the auto install Spark will only work in the first session.
> This seems to be a regression on the earlier behavior.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org