spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-8603) In Windows,Not able to create a Spark context from R studio
Date Thu, 25 Jun 2015 18:34:05 GMT

    [ https://issues.apache.org/jira/browse/SPARK-8603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601689#comment-14601689
] 

Apache Spark commented on SPARK-8603:
-------------------------------------

User 'prakashpc' has created a pull request for this issue:
https://github.com/apache/spark/pull/7025

> In Windows,Not able to create a Spark context from R studio 
> ------------------------------------------------------------
>
>                 Key: SPARK-8603
>                 URL: https://issues.apache.org/jira/browse/SPARK-8603
>             Project: Spark
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 1.4.0
>         Environment: Windows, R studio
>            Reporter: Prakash Ponshankaarchinnusamy
>             Fix For: 1.4.0
>
>   Original Estimate: 0.5m
>  Remaining Estimate: 0.5m
>
> In windows ,creation of spark context fails using below code from R studio
> Sys.setenv(SPARK_HOME="C:\\spark\\spark-1.4.0")
> .libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
> library(SparkR)
> sc <- sparkR.init(master="spark://localhost:7077", appName="SparkR")
> Error: JVM is not ready after 10 seconds
> Reason: Wrong file path computed in client.R. File seperator for windows["\"] is not
respected by "file.Path" function by default.



--
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


Mime
View raw message