You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Tao Yang (JIRA)" <ji...@apache.org> on 2018/09/14 13:31:00 UTC
[jira] [Created] (YARN-8774) Memory leak when CapacityScheduler
allocates from reserved container with non-default label
Tao Yang created YARN-8774:
------------------------------
Summary: Memory leak when CapacityScheduler allocates from reserved container with non-default label
Key: YARN-8774
URL: https://issues.apache.org/jira/browse/YARN-8774
Project: Hadoop YARN
Issue Type: Bug
Components: capacityscheduler
Reporter: Tao Yang
Assignee: Tao Yang
Reproduce memory leak:
(1) create reserved container
RegularContainerAllocator#doAllocation: create RMContainerImpl instanceA (nodeLabelExpression="")
LeafQueue#allocateResource: RMContainerImpl instanceA is put into LeafQueue#ignorePartitionExclusivityRMContainers
(2) allocate from reserved container
RegularContainerAllocator#doAllocation: create RMContainerImpl instanceB (nodeLabelExpression="test-label")
(3) From now on, RMContainerImpl instanceA will be left in memory (be kept in LeafQueue#ignorePartitionExclusivityRMContainers) forever until RM restarted
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org