You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2009/07/04 08:02:47 UTC

[jira] Commented: (MAPREDUCE-532) Allow admins of the Capacity Scheduler to set a hard-limit on the capacity of a queue

    [ https://issues.apache.org/jira/browse/MAPREDUCE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727194#action_12727194 ] 

Hemanth Yamijala commented on MAPREDUCE-532:
--------------------------------------------

This is looking good. I have few minor comments:

- Documentation of TaskSchedulingInfo.setCapacity needs to be updated. It is referring to setting the minimum value.
- TaskSchedulingInfo.toString() - The remaining count in case maximum task limit is less than capacity should be computed as maxTaskLimit-capacity.
- Also, we are not displaying the configured task limit anywhere.
- TaskSchedulingInfo.areTasksInQueueOverLimit - Documentation needs updating as we check for >= and also it is not running tasks, but occupied slots.
- In testHighMemoryBlockingWithMaxLimit, after the first map task is assigned, we check that no more map tasks are being assigned. This is correct. But just to be sure, we should also check that no reservations are created for the high ram job. One way to check that would be to make sure that checkOccupiedSlots does not change for map slots after the reduce of the second job is scheduled on tt1.
- testUserLimitsWithMaxLimits has some indentation errors.
- The 'delta' parameter introduced in checkOccupiedSlots is not very intuitive - can we do two things:
-- define an overloaded method, leaving the first one intact and use that for all the calls where 0,0 is passed as the last two parameters, 
-- and also document the parameters usage in the second method. This will make the number of changes very less in the test class.

> Allow admins of the Capacity Scheduler to set a hard-limit on the capacity of a queue
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-532
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-532
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: contrib/capacity-sched
>            Reporter: Rajiv Chittajallu
>         Attachments: MAPREDUCE-532-1.patch, MAPREDUCE-532-2.patch, MAPREDUCE-532-3.patch, MAPREDUCE-532-4.patch
>
>
> For jobs which call external services, (eg: distcp, crawlers) user/admin should be able to control max parallel tasks spawned. There should be a mechanism to cap the capacity available for a queue/job. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.