[ https://issues.apache.org/jira/browse/YARN-8984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680065#comment-16680065 ]
Botong Huang commented on YARN-8984: ------------------------------------ bq. ContainerPBImpl#getAllocationTags() will new a empty hashSet when the tag is null. We should not assume the implementation (ContainerPBImpl) will do so in general. Other implementations of Container in the future might still return null. So please keep the null check here. You can remove the isEmpty() check if needed. > AMRMClient#OutstandingSchedRequests leaks when AllocationTags is null or empty > ------------------------------------------------------------------------------ > > Key: YARN-8984 > URL: https://issues.apache.org/jira/browse/YARN-8984 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Yang Wang > Assignee: Yang Wang > Priority: Critical > Attachments: YARN-8984-001.patch, YARN-8984-002.patch, > YARN-8984-003.patch > > > In AMRMClient, outstandingSchedRequests should be removed or decreased when > container allocated. However, it could not work when allocation tag is null > or empty. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org