[
https://issues.apache.org/jira/browse/YARN-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16575620#comment-16575620
]
Weiwei Yang commented on YARN-8521:
-----------------------------------
Just committed this to trunk and branch-3.1, thanks [~suma.shivaprasad]!
> NPE in AllocationTagsManager when a container is removed more than once
> -----------------------------------------------------------------------
>
> Key: YARN-8521
> URL: https://issues.apache.org/jira/browse/YARN-8521
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 3.1.0
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Priority: Major
> Fix For: 3.2.0, 3.1.2
>
> Attachments: YARN-8521.001.patch, YARN-8521.002.patch,
> YARN-8521.003.patch
>
>
> We've seen sometimes there is NPE in AllocationTagsManager
> {code:java}
> private void removeTagFromInnerMap(Map<String, Long> innerMap, String tag) {
> Long count = innerMap.get(tag);
> if (count > 1) { // NPE!!
> ...
> {code}
> it seems {{AllocationTagsManager#removeContainer}} somehow gets called more
> than once for a same container.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]