spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewor14 <>
Subject [GitHub] spark pull request: [SPARK-1132] Persisting Web UI through refacto...
Date Fri, 14 Mar 2014 17:06:11 GMT
Github user andrewor14 commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/spark/ui/SparkUI.scala ---
    @@ -68,19 +105,53 @@ private[spark] class SparkUI(sc: SparkContext) extends Logging {
       /** Initialize all components of the server */
       def start() {
    -    // NOTE: This is decoupled from bind() because of the following dependency cycle:
    -    //  DAGScheduler() requires that the port of this server is known
    -    //  This server must register all handlers, including JobProgressUI, before binding
    -    //  JobProgressUI registers a listener with SparkContext, which requires sc to initialize
    +    storage.start()
    +    env.start()
    +    // Listen for events from the SparkContext if it exists, otherwise from persisted
    +    val eventBus = if (live) {
    +      val loggingEnabled = conf.getBoolean("spark.eventLog.enabled", false)
    --- End diff --
    Yup, that could get rid of two options that are mutually exclusive.

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

View raw message