Repository: spark
Updated Branches:
  refs/heads/master 63d168cbb -> 784680903


[SPARK-21553][SPARK SHELL] Add the description of the default value of master 
parameter in the spark-shell

When I type spark-shell --help, I find that the default value description for 
the master parameter is missing. The user does not know what the default value 
is when the master parameter is not included, so we need to add the master 
parameter default description to the help information.
[https://issues.apache.org/jira/browse/SPARK-21553](https://issues.apache.org/jira/browse/SPARK-21553)

Author: davidxdh <xu.dong...@zte.com.cn>
Author: Donghui Xu <xu.dong...@zte.com.cn>

Closes #18755 from davidxdh/dev_0728.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/78468090
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/78468090
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/78468090

Branch: refs/heads/master
Commit: 784680903cdf003ac965b2d97b3f793324909bd3
Parents: 63d168c
Author: davidxdh <xu.dong...@zte.com.cn>
Authored: Fri Jul 28 15:21:45 2017 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Jul 28 15:21:45 2017 +0100

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/78468090/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala 
b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
index fd15211..3721b98 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala
@@ -514,7 +514,8 @@ private[deploy] class SparkSubmitArguments(args: 
Seq[String], env: Map[String, S
     outStream.println(
       s"""
         |Options:
-        |  --master MASTER_URL         spark://host:port, mesos://host:port, 
yarn, or local.
+        |  --master MASTER_URL         spark://host:port, mesos://host:port, 
yarn, or local
+        |                              (Default: local[*]).
         |  --deploy-mode DEPLOY_MODE   Whether to launch the driver program 
locally ("client") or
         |                              on one of the worker machines inside 
the cluster ("cluster")
         |                              (Default: client).


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

Reply via email to