You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ken Ellinwood <ke...@yahoo.com> on 2014/04/10 21:02:43 UTC
/bin/java not found: JAVA_HOME ignored launching shark executor
14/04/10 08:00:42 INFO AppClient$ClientActor: Executor added: app-20140410080041-0017/9 on worker-20140409145028-ken-
VirtualBox-39159 (ken-VirtualBox:39159) with 4 cores
14/04/10
08:00:42 INFO SparkDeploySchedulerBackend: Granted executor ID
app-20140410080041-0017/9 on hostPort ken-VirtualBox:39159 with 4 cores,
1024.0 MB RAM
14/04/10 08:00:42 INFO AppClient$ClientActor: Executor updated: app-20140410080041-0017/9 is now RUNNING
14/04/10
08:00:42 INFO AppClient$ClientActor: Executor updated:
app-20140410080041-0017/9 is now FAILED (class java.io.IOException:
Cannot run program "/bin/java" (in directory "/usr/lib/spark/work/app-20140410080041-0017/9"): error=2, No such file or directory)
I have JAVA_HOME set in both spark-env.sh and shark-env.sh.
I
suspect that something is not passing the JAVA_HOME value correctly,
because unless I create a symlink from /bin/java to my java executable
in /usr/lib/jvm/... I get the errors above when starting sharkserver2.
Ideas?
Ken
Re: /bin/java not found: JAVA_HOME ignored launching shark executor
Posted by Ken Ellinwood <ke...@yahoo.com>.
Sorry, I forgot to mention this is spark-0.9.1 and shark-0.9.1.
Ken
On Thursday, April 10, 2014 9:02 AM, Ken Ellinwood <ke...@yahoo.com> wrote:
14/04/10 08:00:42 INFO AppClient$ClientActor: Executor added: app-20140410080041-0017/9 on worker-20140409145028-ken-
VirtualBox-39159 (ken-VirtualBox:39159) with 4 cores
14/04/10
08:00:42 INFO SparkDeploySchedulerBackend: Granted executor ID
app-20140410080041-0017/9 on hostPort ken-VirtualBox:39159 with 4 cores,
1024.0 MB RAM
14/04/10 08:00:42 INFO AppClient$ClientActor: Executor updated: app-20140410080041-0017/9 is now RUNNING
14/04/10
08:00:42 INFO AppClient$ClientActor: Executor updated:
app-20140410080041-0017/9 is now FAILED (class java.io.IOException:
Cannot run program "/bin/java" (in directory "/usr/lib/spark/work/app- 20140410080041-0017/9"): error=2, No such file or directory)
I have JAVA_HOME set in both spark-env.sh and shark-env.sh.
I
suspect that something is not passing the JAVA_HOME value correctly,
because unless I create a symlink from /bin/java to my java executable
in /usr/lib/jvm/... I get the errors above when starting sharkserver2.
Ideas?
Ken