You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ashish Dutt <as...@gmail.com> on 2015/07/07 03:07:39 UTC

JVM is not ready after 10 seconds.

Hi,

I am trying to connect a worker to the master. The spark master is on
cloudera manager and I know the master IP address and port number.
I downloaded the spark binary for CDH4 on the worker machine and then when
I try to invoke the command
> sc = sparkR.init("master="ip address:port number") I get the following
error.

> sc=sparkR.init(master="spark://10.229.200.250:7377")
Launching java with spark-submit command
C:\spark-1.4.0\bin/bin/spark-submit.cmd  sparkr-shell
C:\Users\ASHISH~1\AppData\Local\Temp\Rtmp82kCxH\backend_port4281739d85
Error in sparkR.init(master = "spark://10.229.200.250:7377") :
  JVM is not ready after 10 seconds
In addition: Warning message:
running command '"C:\spark-1.4.0\bin/bin/spark-submit.cmd"  sparkr-shell
C:\Users\ASHISH~1\AppData\Local\Temp\Rtmp82kCxH\backend_port4281739d85' had
status 127


I am using windows 7 as the OS on the worker machine and I am invoking the
sparkR.init() from RStudio

Any help in this reference will be appreciated

Thank you,
Ashish Dutt