hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlo Curino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6408) NPE in handling NODE_UPDATE (while running SLS)
Date Wed, 29 Mar 2017 18:27:41 GMT

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message