You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPARK-2310. Support arbitrary Spark properties on the command line with ...
...spark-submit
The PR allows invocations like
spark-submit --class org.MyClass --spark.shuffle.spill false myjar.jar
Author: Sandy Ryza <[email protected]>
Closesapache#1253 from sryza/sandy-spark-2310 and squashes the following commits:
1dc9855 [Sandy Ryza] More doc and cleanup
00edfb9 [Sandy Ryza] Review comments
91b244a [Sandy Ryza] Change format to --conf PROP=VALUE
8fabe77 [Sandy Ryza] SPARK-2310. Support arbitrary Spark properties on the command line with spark-submit
Copy file name to clipboardExpand all lines: docs/submitting-applications.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ dependencies, and can support different cluster managers and deploy modes that S
33
33
--class <main-class>
34
34
--master <master-url> \
35
35
--deploy-mode <deploy-mode> \
36
+
--conf <key>=<value> \
36
37
... # other options
37
38
<application-jar> \
38
39
[application-arguments]
@@ -43,6 +44,7 @@ Some of the commonly used options are:
43
44
*`--class`: The entry point for your application (e.g. `org.apache.spark.examples.SparkPi`)
44
45
*`--master`: The [master URL](#master-urls) for the cluster (e.g. `spark://23.195.26.187:7077`)
45
46
*`--deploy-mode`: Whether to deploy your driver on the worker nodes (`cluster`) or locally as an external client (`client`) (default: `client`)*
47
+
*`--conf`: Arbitrary Spark configuration property in key=value format. For values that contain spaces wrap "key=value" in quotes (as shown).
46
48
*`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.
47
49
*`application-arguments`: Arguments passed to the main method of your main class, if any
0 commit comments