Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19061#discussion_r142570436
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -598,6 +598,15 @@ object SparkSubmit extends CommandLineUtils with
Logging {
}
}
+ // In case of shells, spark.ui.showConsoleProgress can be true by
default or by user.
+ if (isShell(args.primaryResource)) {
+ if (!sparkConf.contains("spark.ui.showConsoleProgress")) {
+ sysProps("spark.ui.showConsoleProgress") = "true"
+ }
+ } else {
+ sysProps("spark.ui.showConsoleProgress") = "false"
--- End diff --
I don't see a need to prevent users from forcing this configuration if they
want to.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]