Sean Owen resolved SPARK-17437.
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 15000

> uiWebUrl is not accessible to JavaSparkContext or pyspark.SparkContext
> ----------------------------------------------------------------------
>                 Key: SPARK-17437
>                 URL: https://issues.apache.org/jira/browse/SPARK-17437
>             Project: Spark
>          Issue Type: Improvement
>          Components: Java API, PySpark, Web UI
>    Affects Versions: 2.0.0
>            Reporter: Adrian Petrescu
>            Assignee: Adrian Petrescu
>            Priority: Minor
>             Fix For: 2.1.0
> The Scala version of {{SparkContext}} has a handy field called {{uiWebUrl}} 
> that tells you which URL the SparkUI spawned by that instance lives at. This 
> is often very useful because the value for {{spark.ui.port}} in the config is 
> only a suggestion; if that port number is taken by another Spark instance on 
> the same machine, Spark will just keep incrementing the port until it finds a 
> free one. So, on a machine with a lot of running PySpark instances, you often 
> have to start trying all of them one-by-one until you find your application 
> name.
> Scala users have a way around this with {{uiWebUrl}} but Java and Python 
> users do not. This ticket (and the attached PR) fix this in the most 
> straightforward way possible, simply propagating this field through the 
> {{JavaSparkContext}} and into pyspark through the Java gateway.
> Please let me know if any additional documentation/testing is needed.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to