spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwendell <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-1132] Persisting Web UI through refacto...
Date Thu, 06 Mar 2014 21:36:46 GMT
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/42#discussion_r10362120
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/master/Master.scala ---
    @@ -625,6 +653,30 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int)
extends Act
         }
       }
     
    +  /**
    +   * Start a new SparkUI rendered from persisted storage. Assumes event logging information
    +   * is available for given application.
    +   */
    +  def startPersistedSparkUI(app: ApplicationInfo): SparkUI = {
    +    val appName = app.desc.name
    +    val eventLogInfo = app.desc.eventLogInfo.get
    +    val eventLogDir = eventLogInfo.logDir
    --- End diff --
    
    That's the normal case. The logDir is a URL not a file path.


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

Mime
View raw message