|
For job limits, Yes. Can we add similar limits per queue? mapred.max.maps.per.queue and mapred.max.reduces.per.queue
Owen O'Malley made changes - 20/Jun/09 07:59 AM
Problem statement : There should be a option to control no of tasks
run from the queue at any point of time.There should be mechanism to cap the capacity available for a queue/job. There are 2 approaches : 1.Define a configuration variable , 2.Define a configuration variable , For the expressed use case, solution 1 seems more deterministic and Note : All the calculations in Capacity scheduler are slot based ,so we I would prefer option 1. When we wan't to rate limit, absolute numbers is always good.
This patch still need docs related changes.
rahul k singh made changes - 01/Jul/09 03:41 PM
removing System.out.println statement from the patch
rahul k singh made changes - 02/Jul/09 04:12 AM
adding patch with doc changes and new change which solves the user limit problem
rahul k singh made changes - 02/Jul/09 07:59 AM
This is looking ok. Some comments (mostly minor):
I am still to look at the test cases. Some comments on test cases:
After discussions I'm changing the direction of this jira to simply allow for a configured hard-limit on the capacity of queues.
With this feature the consumers of the 'external service' will have to submit to a special queue for the service/resource, there-by limiting the fan-in for the service.
Arun C Murthy made changes - 02/Jul/09 09:08 PM
Implemented the hemanth's changes and also added testcases for high ram jobs and user limit
rahul k singh made changes - 03/Jul/09 11:20 AM
This is looking good. I have few minor comments:
Applied the suggestion from hemanth
rahul k singh made changes - 04/Jul/09 12:33 PM
The attached patch (
Hemanth Yamijala made changes - 06/Jul/09 07:34 AM
Results of test-patch:
[exec] -1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] -1 Eclipse classpath. The patch causes the Eclipse classpath to differ from the contents of the lib directories.
[exec]
[exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
The -1 related to Eclipse classpath is because of a mismatch in ivy jars. I am told this does not need to be worried about. The test changes only the capacity scheduler code base, and all unit tests of capacity scheduler pass. The attached patch (
Hemanth Yamijala made changes - 06/Jul/09 07:45 AM
I just committed this to trunk. Thanks, Rahul !
Hemanth Yamijala made changes - 06/Jul/09 07:55 AM
Attached patch (
Hemanth Yamijala made changes - 06/Jul/09 08:51 AM
Integrated in Hadoop-Mapreduce-trunk #15 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/15/
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HADOOP-5170address the requirements?