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

    https://github.com/apache/spark/pull/2363#discussion_r17436782
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -220,8 +220,14 @@ class SparkContext(config: SparkConf) extends Logging {
         new MetadataCleaner(MetadataCleanerType.SPARK_CONTEXT, this.cleanup, 
conf)
     
       // Initialize the Spark UI, registering all associated listeners
    -  private[spark] val ui = new SparkUI(this)
    -  ui.bind()
    +  private[spark] val ui: Option[SparkUI] =
    +    if (conf.getBoolean("spark.ui.enabled", true)) {
    --- End diff --
    
    is this meant for the user to set?  If so we should document.  If not 
perhaps we should start naming internal configs internal.  or test. for testing 
ones.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to