Github user tnachen commented on the pull request:
https://github.com/apache/spark/pull/2145#issuecomment-53535667
Ok I just tried it on a mesos cluster and it didn't work.
The classpath it put in the Mesos command is where spark lives in the spark
shell in another host, but not in just pulled down spark-executor from the tar.
sh -c 'cd spark-1*; "/usr/bin/java" "-cp"
"::/home/jclouds/src/spark/conf:/home/jclouds/src/spark/assembly/target/scala-2.10/spark-assembly-1.1.0-SNAPSHOT-hadoop1.0.4.jar"
"-XX:MaxPermSize=128m" "-Xms512M" "-Xmx512M"
"org.apache.spark.executor.CoarseGrainedExecutorBackend"
"akka.tcp://[email protected]:47860/user/CoarseGrainedScheduler"
"20140818-071808-3483423754-5050-2070-4" "10.151.50.130" "2"'
So we must still compute classpaths after it's pulled down, not wherever
the spark-shell is being executed and assume it's going to run the tared spark.
---
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]