[ 
https://issues.apache.org/jira/browse/SPARK-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Ash closed SPARK-904.
----------------------------
    Resolution: Not a Problem

> Not able to Start/Stop Spark Worker from Remote Machine
> -------------------------------------------------------
>
>                 Key: SPARK-904
>                 URL: https://issues.apache.org/jira/browse/SPARK-904
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 0.7.3
>            Reporter: Ayush
>
> I have two machines A and B. I am trying to run Spark Master on machine A and 
> Spark Worker on machine B. 
> I have set machine B'host name in conf/slaves in my Spark directory. 
> When I am executing start-all.sh to start master and workers, I am getting 
> below message on console:
> abc@abc-vostro:~/spark-scala-2.10$ sudo sh bin/start-all.sh 
> sudo: /etc/sudoers.d is world writable
> starting spark.deploy.master.Master, logging to 
> /home/abc/spark-scala-2.10/bin/../logs/spark-root-spark.deploy.master.Master-1-abc-vostro.out
> 13/09/11 14:54:29 WARN spark.Utils: Your hostname, abc-vostro resolves to a 
> loopback address: 127.0.1.1; using 1XY.1XY.Y.Y instead (on interface wlan2)
> 13/09/11 14:54:29 WARN spark.Utils: Set SPARK_LOCAL_IP if you need to bind to 
> another address
> Master IP: abc-vostro
> cd /home/abc/spark-scala-2.10/bin/.. ; 
> /home/abc/spark-scala-2.10/bin/start-slave.sh 1 spark://abc-vostro:7077
> xyz@1XX.1XX.X.X's password: 
> xyz@1XX.1XX.X.X: bash: line 0: cd: /home/abc/spark-scala-2.10/bin/..: No such 
> file or directory
> xyz@1XX.1XX.X.X: bash: /home/abc/spark-scala-2.10/bin/start-slave.sh: No such 
> file or directory
> Master is started but worker is failed to start. 
> I have set xyz@1XX.1XX.X.X in conf/slaves in my Spark directory. 
> Can anyone help me to resolve this? This is probably something I'm missing 
> any configuration on my end. 
> However When I create Spark Master and Worker on same machine, It is working 
> fine. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to