Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/1715#discussion_r15730471
--- Diff: docs/submitting-applications.md ---
@@ -35,17 +35,23 @@ dependencies, and can support different cluster
managers and deploy modes that S
--deploy-mode <deploy-mode> \
--conf <key>=<value> \
... # other options
- <application-jar> \
+ --primary <application-jar> \
+ -- \
[application-arguments]
{% endhighlight %}
+(**NOTE** Prior to Spark 1.1, `--primary` and `--` are not required. The
old application option
+passing mode is still supported. Start from Spark 1.1, `--` is used as
user application option
+separator, to let user application receive arbitrary command line option,
including those are once
+swallowed by `spark-submit`, like `--master`.)
--- End diff --
Thanks for the rewording, except for one thing: `--hiveconf` can't be
swallowed. Actually only those options that have the same name as those
recognized by `spark-submit` are swallowed, like `--master`, `--conf`, etc.
---
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]