[jira] [Updated] (YARN-3271) FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler to TestAppRunnability

2015-05-06 Thread nijel (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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.
Done
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.  
{code}
FairScheduler.java

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

 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
(v6.3.4#6332)


[jira] [Updated] (YARN-3271) FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler to TestAppRunnability

2015-05-05 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated YARN-3271:
---
Labels: BB2015-05-TBR  (was: )

 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






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3271) FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler to TestAppRunnability

2015-04-30 Thread nijel (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nijel updated YARN-3271:

Attachment: YARN-3271.3.patch

Updated patch for whitespace fix and test fix

 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
 Attachments: YARN-3271.1.patch, YARN-3271.2.patch, YARN-3271.3.patch






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3271) FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler to TestAppRunnability

2015-04-29 Thread nijel (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nijel updated YARN-3271:

Attachment: YARN-3271.1.patch

Attaching the patch
kindly review

 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
 Attachments: YARN-3271.1.patch






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3271) FairScheduler: Move tests related to max-runnable-apps from TestFairScheduler to TestAppRunnability

2015-04-29 Thread nijel (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nijel updated YARN-3271:

Attachment: YARN-3271.2.patch

thanks [~kasha] for the comments
Updated patch as per your comment.
Please review


 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
 Attachments: YARN-3271.1.patch, YARN-3271.2.patch






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)