@shashwat.2014 wrote:
Hi everyone,
I was installing spark R on windows 10, and during the process, I am not able to remove one error even after constant struggle and searches. I followed the spark R documentation and typed the following code:
if (nchar(Sys.getenv("SPARK_HOME")) < 1) {
Sys.setenv(SPARK_HOME = "C:/Users/shashwat2014/Documents/spark-1.6.1")
}
library("SparkR", lib.loc="C:/Users/shashwat2014/Documents/R/win-library/3.3")Here, spark-1.6.1 is the folder in which spark 1.6.1 is installed.
Till this point everything worked fine.Then during initialising:
sc=sparkR.init(master="local")
Launching java with spark-submit command C:/Users/shashwat2014/Documents/spark-1.6.1/bin/spark-submit.cmd sparkr-shell C:\Users\SHASHW~1\AppData\Local\Temp\Rtmp0MEKzo\backend_port24904e7438fe
Error in sparkR.init(master = "local") :
JVM is not ready after 10 secondsPlease help me with the installation. Any help would be appreciated.
Posts: 1
Participants: 1