You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Varun Saxena (JIRA)" <ji...@apache.org> on 2015/10/17 08:23:05 UTC
[jira] [Created] (MAPREDUCE-6514) Update ask to indicate to RM that
it need not allocate for ramped down reducers
Varun Saxena created MAPREDUCE-6514:
---------------------------------------
Summary: Update ask to indicate to RM that it need not allocate for ramped down reducers
Key: MAPREDUCE-6514
URL: https://issues.apache.org/jira/browse/MAPREDUCE-6514
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: applicationmaster
Affects Versions: 2.7.1
Reporter: Varun Saxena
Assignee: Varun Saxena
In RMContainerAllocator#preemptReducesIfNeeded, we simply clear the scheduled reduces map and put these reducers to pending. This is not updated in ask. So RM keeps on assigning and AM is not able to assign as no reducer is scheduled(check logs below the code).
If this is updated immediately, RM will be able to schedule mappers immediately which anyways is the intention when we ramp down reducers.
{code}
LOG.info("Ramping down all scheduled reduces:"
+ scheduledRequests.reduces.size());
for (ContainerRequest req : scheduledRequests.reduces.values()) {
pendingReduces.add(req);
}
scheduledRequests.reduces.clear();
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)