[
https://issues.apache.org/jira/browse/MAPREDUCE-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.V.Chaitanya Krishna updated MAPREDUCE-1020:
---------------------------------------------
Attachment: MAPREDUCE-1020-1.patch
Uploading with the above test cases being implemented.
In addition, methods are introduced in JobInitializationPoller in order to
access private inner class QueueInfo.maxUsersAllowedToInitialize and
QueueInfo.maxJobsPerUserToInitialize.
> Add more unit tests to test the queue refresh feature MAPREDUCE-893
> -------------------------------------------------------------------
>
> Key: MAPREDUCE-1020
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1020
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Affects Versions: 0.21.0
> Reporter: Vinod K V
> Fix For: 0.21.0
>
> Attachments: MAPREDUCE-1020-1.patch
>
>
> MAPREDUCE-893 included unit tests verifying the sanity of the refresh feature
> - both the queue properities' refresh as well as the scheduler properties'
> refresh. The test suite can and should be expanded. This will help easily
> identifying issues that will otherwise be caught during manual testing. For
> e.g., during manual testing of MAPREDUCE-893, we identified an NPE in the
> scheduler iteration occuring during heartbeat, which could have been easily
> identified by unit tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.