Github user dragos commented on the pull request:

    https://github.com/apache/spark/pull/8872#issuecomment-162193859
  
    ```
    $ bin/spark-submit --deploy-mode cluster --master 
mesos://sagitarius.local:7077 --conf spark.mesos.coarse=true --conf 
spark.executor.uri="ftp://sagitarius.local/ftp/spark-1.6.0-SNAPSHOT-bin-pr8872.tgz";
 --class org.apache.spark.examples.SparkPi 
ftp://sagitarius.local/ftp/spark-examples_2.11-1.5.1.jar
    ```
    
    my machine is called `sagitarius`. I see in the driver Mesos Sandbox that 
both jars are copied and unzipped. That’s good. But then it fails:
    
     ```
    6:28:48.451328 32577 exec.cpp:208] Executor registered on slave 
1521e408-d8fe-416d-898b-3801e73a8293-S0
    bin/spark-submit: line 27: 
/Users/dragos/workspace/Spark/dev/spark/bin/spark-class: No such file or 
directory
    ```
    
    For some reason it picks `SPARK_HOME` to be my development checkout 
(that’s where I run `spark-submit` from), but I didn’t define `SPARK_HOME` 
myself.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to