Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/2516#discussion_r18066623 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala --- @@ -188,41 +228,16 @@ private[spark] class SparkSubmitArguments(args: Seq[String]) { "either HADOOP_CONF_DIR or YARN_CONF_DIR must be set in the environment.") } } + } override def toString = { - s"""Parsed arguments: - | master $master - | deployMode $deployMode - | executorMemory $executorMemory - | executorCores $executorCores - | totalExecutorCores $totalExecutorCores - | propertiesFile $propertiesFile - | extraSparkProperties $sparkProperties - | driverMemory $driverMemory - | driverCores $driverCores - | driverExtraClassPath $driverExtraClassPath - | driverExtraLibraryPath $driverExtraLibraryPath - | driverExtraJavaOptions $driverExtraJavaOptions - | supervise $supervise - | queue $queue - | numExecutors $numExecutors - | files $files - | pyFiles $pyFiles - | archives $archives - | mainClass $mainClass - | primaryResource $primaryResource - | name $name - | childArgs [${childArgs.mkString(" ")}] - | jars $jars - | verbose $verbose - | - |Default properties from $propertiesFile: - |${defaultSparkProperties.mkString(" ", "\n ", "\n")} - """.stripMargin + conf.mkString("\n") } - /** Fill in values by parsing user options. */ + /** --- End diff -- Previous formatting was correct.
--- 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