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

Thomas Graves commented on SPARK-14245:
---------------------------------------

see the commend in the PR, I think there was a race with the SparkContext 
version:

I just pushed an update. I changed how I get the username so it uses the same 
method for both active and history. This method actually pulls the information 
from the same source as both sc.sparkUser and the API do at their root, the 
system env. Except with this method we make sure we always get the correct 
user; I noticed a race condition when using sc.sparkUser while finding this 
solution. After starting up the master when two spark applications are started 
at once, one by the user who started the master and one who didn't, both would 
appear to been started by the user who started the master. This would only 
happened on the first apps started, any apps started after would behave as 
expected. This race condition doesn't exist with my change.

> webUI should display the user
> -----------------------------
>
>                 Key: SPARK-14245
>                 URL: https://issues.apache.org/jira/browse/SPARK-14245
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 1.6.1
>            Reporter: Thomas Graves
>            Assignee: Alex Bozarth
>             Fix For: 2.0.0
>
>
> It would be nice if the Spark UI (both active and history) showed the user 
> who ran the application somewhere when you are in the application view.   
> Perhaps under the Jobs view by total uptime and scheduler mode.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to