[ 
https://issues.apache.org/jira/browse/SPARK-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046468#comment-14046468
 ] 

Marcelo Vanzin commented on SPARK-2169:
---------------------------------------

https://github.com/apache/spark/pull/1252

> SparkUI.setAppName() has no effect
> ----------------------------------
>
>                 Key: SPARK-2169
>                 URL: https://issues.apache.org/jira/browse/SPARK-2169
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.0.0
>            Reporter: Marcelo Vanzin
>
> {{SparkUI.setAppName()}} does not do anything useful.
> It overwrites the instance's {{appName}} fields, but all places where that 
> field is used have already read that value into their own copies by the time 
> that happens.
> e.g.
> StagePage.scala copies {{parent.appName}} into its own private {{appName}} in 
> the constructor, which is called as part of SparkUI's constructor. So when 
> you call {{SparkUI.setAppName}} it does not overwrite StagePage's copy, and 
> so the UI still shows the old value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to