Github user pankajarora12 commented on the pull request:
https://github.com/apache/spark/pull/930#issuecomment-45191676
@pwendell
/bin/spark-submit --name "My app" --master "local[4]" myJar.jar --name
"This goes to the app"
If I pass --master twice, earlier --master argument passed gets overridden
by the one following it. That means you cannot use --master as an application
argument.
The command i fired was
/opt/spark-1.0.0/bin/spark-submit --master yarn
/opt/tms/java/app-1.0-SNAPSHOT-jar-with-dependencies.jar --master yarn1
--deploy-mode cluster --verbose --class com.guavus.scala.MainClassÂ
yarn-cluster /data/outputÂ
/data/collector/1/output/http/2014/05/11/22/50/72/Â VS-NN --driver-memory
9099M --executor-memory 9099M --num-executors 1 --executor-cores 1
and master field took the value as yarn1 also --master yarn1 did not get
passed to our App.
BTW I upgraded from tag v1.0.0-rc2 to v1.0.0.
---
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.
---