Github user tgravescs commented on a diff in the pull request: https://github.com/apache/spark/pull/120#discussion_r10516035 --- Diff: docs/running-on-yarn.md --- @@ -60,11 +60,11 @@ The command to launch the Spark application on the cluster is as follows: --jar <YOUR_APP_JAR_FILE> \ --class <APP_MAIN_CLASS> \ --args <APP_MAIN_ARGUMENTS> \ - --num-workers <NUMBER_OF_EXECUTORS> \ - --master-class <ApplicationMaster_CLASS> - --master-memory <MEMORY_FOR_MASTER> \ - --worker-memory <MEMORY_PER_EXECUTOR> \ - --worker-cores <CORES_PER_EXECUTOR> \ + --num-executors <NUMBER_OF_EXECUTOR_PROCESSES> \ + --am-class <ApplicationMaster_CLASS> --- End diff -- The master-class/am-class is used by the yarn-client mode. It launches a different AM then yarn-cluster mode. We should just remove the option from the documentation since end users shouldn't be using it.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---