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

    https://github.com/apache/spark/pull/8071#discussion_r36661174
  
    --- 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 --
    
    @srowen  and @tgravescs, users still have the confusion regarding the 
"recommended/preferred" method of submission. 
    Not sure if it necessary to have a single method or have both ways.
    I can modify the PR accordingly.


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