nijel updated YARN-3271:
    Attachment: YARN-3271.4.patch

Thanks [~kasha] for the comments
 bq.tearDown need not explicitly stop the scheduler. Stopping the RM should 
take care of the scheduler as well.
bq.testNotUserAsDefaultQueue and testDontAllowUndeclaredPools need not stop the 
RM and re-instantiate it. We could just call scheduler.reinitialize
I tried this. As per my analysis the reinitialize call will not consider the 
conf object.  

  public void reinitialize(Configuration conf, RMContext rmContext)
      throws IOException {
    try {
    } catch (Exception e) {
      LOG.error("Failed to reload allocations file", e);
Here conf is not used.
bq.testMoveRunnableApp - Remove commented out scheduler.init and start

> FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler 
> to TestAppRunnability
> ---------------------------------------------------------------------------------------------------
>                 Key: YARN-3271
>                 URL: https://issues.apache.org/jira/browse/YARN-3271
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Karthik Kambatla
>            Assignee: nijel
>              Labels: BB2015-05-TBR
>         Attachments: YARN-3271.1.patch, YARN-3271.2.patch, YARN-3271.3.patch, 
> YARN-3271.4.patch

This message was sent by Atlassian JIRA

Reply via email to