You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2014/06/17 22:53:06 UTC

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

Marcelo Vanzin created SPARK-2169:
-------------------------------------

             Summary: 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)