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

    https://github.com/apache/spark/pull/14414#discussion_r73874399
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala
 ---
    @@ -152,8 +152,13 @@ private[spark] class 
MesosCoarseGrainedSchedulerBackend(
           sc.sparkUser,
           sc.appName,
           sc.conf,
    -      
sc.conf.getOption("spark.mesos.driver.webui.url").orElse(sc.ui.map(_.appUIAddress))
    +      
sc.conf.getOption("spark.mesos.driver.webui.url").orElse(sc.ui.map(_.appUIAddress)),
    +      None,
    +      None,
    +      sc.conf.getOption("spark.mesos.driver.frameworkId")
         )
    +
    +    unsetFrameworkID(sc)
    --- End diff --
    
    If the driver creates two spark contexts shouldnt it use two different 
spark confs with that property set up differently?
    If no id is specified what will happen? I guess the dispatcher will not 
know anything. What if you could use a unique id as aframeworkId plus an 
increment, so the scheduler can detect all frameworks even the ones coming from 
multiple contexts? 


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