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

    https://github.com/apache/spark/pull/19946#discussion_r158202645
  
    --- Diff: docs/running-on-yarn.md ---
    @@ -18,7 +18,8 @@ Spark application's configuration (driver, executors, and 
the AM when running in
     
     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 [Spark standalone](spark-standalone.html) and 
[Mesos](running-on-mesos.html) modes, 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`.
    +Unlike other cluster managers supported by Spark
    +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`.
    --- End diff --
    
    nit: why start a new line here?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to