[
https://issues.apache.org/jira/browse/MAPREDUCE-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106675#comment-13106675
]
Todd Lipcon commented on MAPREDUCE-2836:
----------------------------------------
Two tiny nits:
- the indentation is still off on the declaration of {{allowUndeclaredPools}}
- for JUnit 4, assertions come from the org.junit.Assert package - you can do:
{code}
import static org.junit.Assert.*;
{code}
in order to get all of them imported
Otherwise looks great!
> Provide option to fail jobs when submitted to non-existent pools.
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-2836
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2836
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: contrib/fair-share
> Reporter: Jeff Bean
> Assignee: Ahmed Radwan
> Priority: Minor
> Attachments: MAPREDUCE-2836.patch,
> MAPREDUCE-2836_0.20_security.patch, MAPREDUCE-2836_0.20_security_rev2.patch,
> MAPREDUCE-2836_rev2.patch, MAPREDUCE-2836_rev3.patch,
> MAPREDUCE-2836_rev4.patch, MAPREDUCE-2836_rev5.patch,
> MAPREDUCE-2836_trunk.patch, MAPREDUCE-2836_trunk_rev2.patch,
> MAPREDUCE-2836_trunk_rev3.patch
>
>
> In some environments, it might be desirable to explicitly specify the fair
> scheduler pools and to explicitly fail jobs that are not submitted to any of
> the pools.
> Current behavior of the fair scheduler is to submit jobs to a default pool if
> a pool name isn't specified or to create a pool with the new name if the pool
> name doesn't already exist. There should be a configuration option for the
> fair scheduler that causes it to noisily fail the job if it's submitted to a
> pool that isn't pre-specified or if the specified pool doesn't exist.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira