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

    https://github.com/apache/spark/pull/12341#discussion_r59861341
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -280,6 +280,8 @@ class SparkContext(config: SparkConf) extends Logging 
with ExecutorAllocationCli
     
       private[spark] def ui: Option[SparkUI] = _ui
     
    +  def uiWebUrl: Option[String] = _ui.map(_.webUrl)
    --- End diff --
    
    I understand now why it's done this way. Yes I forgot that this is of 
course executed in the shell which doesn't have access to private[spark] stuff. 
Hm, I like the change. I guess I'm a little wary of tacking on yet another 
method in SparkContext just for it. I wonder if anyone else has any particular 
feeling o this? a pointer to the UI does sound handy.


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