You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/08/21 01:21:29 UTC

[jira] [Resolved] (SPARK-2169) SparkUI.setAppName() has no effect

     [ https://issues.apache.org/jira/browse/SPARK-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-2169.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

> 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
>            Assignee: Marcelo Vanzin
>             Fix For: 1.1.0
>
>
> {{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)

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