[
https://issues.apache.org/jira/browse/MAPREDUCE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726443#action_12726443
]
Hemanth Yamijala commented on MAPREDUCE-532:
--------------------------------------------
Some comments on test cases:
- Can we please include a short comment for the test cases describing what they
do.
- We are using assert to check for some of the conditions. This does not work
if the assert is not enabled. We should use assertNull instead.
- In all cases, I think it will be good to test the actual task returned, using
the checkAssignment method. This keeps the logic of the test easy to understand.
- We also need a test case for user limits in the face of queue limits I
suppose - to ensure the user limits are being computed based on the reduced
queue limits.
- Also, we need a test case in the face of high RAM jobs - to make sure we
count reservations for hitting queue limits as well.
> Option to limit max tasks started per job/queue
> ------------------------------------------------
>
> Key: MAPREDUCE-532
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-532
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Reporter: Rajiv Chittajallu
> Attachments: MAPREDUCE-532-1.patch, MAPREDUCE-532-2.patch,
> MAPREDUCE-532-3.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.