|
For job limits, Yes. Can we add similar limits per queue? mapred.max.maps.per.queue and mapred.max.reduces.per.queue 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.
removing System.out.println statement from the patch
adding patch with doc changes and new change which solves the user limit problem
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. Implemented the hemanth's changes and also added testcases for high ram jobs and user limit
This is looking good. I have few minor comments:
Applied the suggestion from hemanth
The attached patch (
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 (
I just committed this to trunk. Thanks, Rahul !
Attached patch (
Integrated in Hadoop-Mapreduce-trunk #15 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/15/
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HADOOP-5170address the requirements?