Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8385#discussion_r40016703
  
    --- Diff: docs/running-on-yarn.md ---
    @@ -16,37 +16,54 @@ containers used by the application use the same 
configuration. If the configurat
     Java system properties or environment variables not managed by YARN, they 
should also be set in the
     Spark application's configuration (driver, executors, and the AM when 
running in client mode).
     
    -There are two deploy modes that can be used to launch Spark applications 
on YARN. In `yarn-cluster` mode, the Spark driver runs inside an application 
master process which is managed by YARN on the cluster, and the client can go 
away after initiating the application. In `yarn-client` mode, the driver runs 
in the client process, and the application master is only used for requesting 
resources from YARN.
    +There are two deploy modes that can be used to launch Spark applications 
on YARN. In `cluster` mode, the Spark driver runs inside an application master 
process which is managed by YARN on the cluster, and the client can go away 
after initiating the application. In `client` mode, the driver runs in the 
client process, and the application master is only used for requesting 
resources from YARN.
     
    -Unlike in Spark standalone and Mesos mode, in which the master's address 
is specified in the `--master` parameter, in YARN mode the ResourceManager's 
address is picked up from the Hadoop configuration. Thus, the `--master` 
parameter is `yarn-client` or `yarn-cluster`. 
    -To launch a Spark application in `yarn-cluster` mode:
    +Unlike in Spark standalone and Mesos mode, in which the master's address 
is specified in the `--master` parameter, in YARN mode the ResourceManager's 
address is picked up from the Hadoop configuration. Thus, the `--master` 
parameter is `yarn` and to specify the deployment `--deploy-mode` can be either 
`client` or `cluster`.
    --- End diff --
    
    This might need different wording: "... and `--deploy-mode` can be `client` 
or `cluster` to select the YARN deployment mode" ?


---
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