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

    https://github.com/apache/spark/pull/3215#discussion_r20251737
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala ---
    @@ -178,21 +178,25 @@ private[spark] class ClientArguments(args: 
Array[String], sparkConf: SparkConf)
     
       private def getUsageMessage(unknownParam: List[String] = null): String = 
{
         val message = if (unknownParam != null) s"Unknown/unsupported param 
$unknownParam\n" else ""
    -    message +
    -      "Usage: org.apache.spark.deploy.yarn.Client [options] \n" +
    -      "Options:\n" +
    -      "  --jar JAR_PATH             Path to your application's JAR file 
(required in yarn-cluster mode)\n" +
    -      "  --class CLASS_NAME         Name of your application's main class 
(required)\n" +
    -      "  --arg ARG                  Argument to be passed to your 
application's main class.\n" +
    -      "                             Multiple invocations are possible, 
each will be passed in order.\n" +
    -      "  --num-executors NUM        Number of executors to start (Default: 
2)\n" +
    -      "  --executor-cores NUM       Number of cores for the executors 
(Default: 1).\n" +
    -      "  --driver-memory MEM        Memory for driver (e.g. 1000M, 2G) 
(Default: 512 Mb)\n" +
    -      "  --executor-memory MEM      Memory per executor (e.g. 1000M, 2G) 
(Default: 1G)\n" +
    -      "  --name NAME                The name of your application (Default: 
Spark)\n" +
    -      "  --queue QUEUE              The hadoop queue to use for allocation 
requests (Default: 'default')\n" +
    -      "  --addJars jars             Comma separated list of local jars 
that want SparkContext.addJar to work with.\n" +
    -      "  --files files              Comma separated list of files to be 
distributed with the job.\n" +
    -      "  --archives archives        Comma separated list of archives to be 
distributed with the job."
    +    message + """
    +      |Usage: org.apache.spark.deploy.yarn.Client [options]
    +      |Options:
    +      |  --jar JAR_PATH           Path to your application's JAR file 
(required in yarn-cluster
    +      |                           mode)
    +      |  --class CLASS_NAME       Name of your application's main class 
(required)\n" +
    --- End diff --
    
    Oops sorry missed that one


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