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

    https://github.com/apache/spark/pull/2432#discussion_r18370516
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1519,7 +1544,7 @@ object SparkContext extends Logging {
           case SPARK_REGEX(sparkUrl) =>
             val scheduler = new TaskSchedulerImpl(sc)
             val masterUrls = sparkUrl.split(",").map("spark://" + _)
    -        val backend = new SparkDeploySchedulerBackend(scheduler, sc, 
masterUrls)
    +        val backend = new SparkDeploySchedulerBackend(scheduler, sc, 
masterUrls, sc.eventLogDir)
    --- End diff --
    
    As I suggested previously, you don't need to pass this into the backend; it 
already has `sc`, so it can get the `eventLogDir` itself.


---
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