You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2016/11/30 06:12:58 UTC

[jira] [Updated] (SPARK-18643) SparkR hangs 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 ]

Felix Cheung updated SPARK-18643:
---------------------------------
    Description: 
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.

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. This seems to be a regression on the earlier behavior.


  was:
1) Install SparkR from source package, ie.
R CMD INSTALL SparkR_2.1.0.tar.gz

2) Start SparkR
library(SparkR)
sparkR.session()

Notice SparkR hangs when it couldn't find spark-submit to launch the JVM backend


> SparkR hangs 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
>
> 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.
> 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. 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