CapacityTaskScheduler.MapSchedulingMgr.killTasksFromJob() will not work as
expected
-----------------------------------------------------------------------------------
Key: HADOOP-4624
URL: https://issues.apache.org/jira/browse/HADOOP-4624
Project: Hadoop Core
Issue Type: Bug
Components: contrib/capacity-sched
Reporter: Amar Kamat
Once capacity-scheduler decides on killing tasks, it selects running-jobs from
the queue and issues {{killTasksFromJob()}}. The order in which it kills is as
follows
- non-local maps
- local maps
_Killing non-local maps :_
The code here uses {{JobInProgress.getNonLocalRunningMaps()}}. HADOOP-2119
introduced this for handling cases like _random-writer_. Hence this api will
return an empty structure if there are reducers in the job. Hence the code
fails to serve its purpose.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.