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

    https://github.com/apache/spark/pull/8071#discussion_r36682426
  
    --- Diff: docs/submitting-applications.md ---
    @@ -48,6 +48,44 @@ Some of the commonly used options are:
     * `application-jar`: Path to a bundled jar including your application and 
all dependencies. The URL must be globally visible inside of your cluster, for 
instance, an `hdfs://` path or a `file://` path that is present on all nodes.
     * `application-arguments`: Arguments passed to the main method of your 
main class, if any
     
    +Alternatively, for submitting on yarn, 
    +
    +{% highlight bash %}
    +./bin/spark-submit \
    +  --class <main-class>
    +  --master <yarn-deploy-mode>
    +  --conf <key>=<value> \
    +  ... # other options
    +  <application-jar> \
    +  [application-arguments] 
    +{% endhighlight %}
    +
    +* `--master`: The --master parameter is either `yarn-client` or 
`yarn-cluster`. Defaults to `yarn-client`
    --- End diff --
    
    Will grep the docs to see the more popular approach to submission amongst 
the two.
    Then align the docs to have that approach as a first recommendation and 
throw the latter as an alternative.
    The goal is to have a consistent method overall.
    Any suggestions?


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

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

Reply via email to