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

Carlo Curino commented on YARN-6408:
------------------------------------

It looks like the userName was probably removed (last app for this user) and 
then we tried to update a missing entry:

{color:red}
    getUser(userName).setUserResourceLimit(userLimitResource);
    return userLimitResource;
 {color}

I put a simple null-check, though I would like someone to validate it, as I am 
not sure that is enough: [~wangda], [~jianhe], [~asuresh], thoughts?


> NPE in handling NODE_UPDATE (while running SLS)
> -----------------------------------------------
>
>                 Key: YARN-6408
>                 URL: https://issues.apache.org/jira/browse/YARN-6408
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Carlo Curino
>         Attachments: YARN-6408.v0.patch
>
>
> The UsersManager.computeUserLimit() throws an NPE during an SLS simulation.



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

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

Reply via email to