You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/07/12 11:04:00 UTC
[jira] [Updated] (YARN-8521) NPE in AllocationTagsManager when a
container is removed more than once
[ https://issues.apache.org/jira/browse/YARN-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiwei Yang updated YARN-8521:
------------------------------
Description:
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.
was:
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.
> 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
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org