Details
Description
If a slave node has home path other than master, start-slave.sh fails to start a worker instance, for other nodes behaves as expected, in my case:
$ ./bin/start-slaves.sh
node05.dev.vega.ru: bash: line 0: cd: /usr/home/etsvigun/spark/bin/..: No such file or directory
node04.dev.vega.ru: org.apache.spark.deploy.worker.Worker running as process 4796. Stop it first.
node03.dev.vega.ru: org.apache.spark.deploy.worker.Worker running as process 61348. Stop it first.
I don't mention /usr/home anywhere, the only environment variable I set is $SPARK_HOME, relative to $HOME on every node, which makes me think some script takes `pwd` on master and tries to use it on slaves.
Spark version: fb6875dd5c9334802580155464cef9ac4d4cc1f0
OS: FreeBSD 8.4