[jira] [Updated] (YARN-3974) Refactor the reservation system test cases to use parameterized base test

2015-08-05 Thread Subru Krishnan (JIRA)

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

Subru Krishnan updated YARN-3974:
-
Attachment: YARN-3974-v5.patch

Rebasing with trunk

 Refactor the reservation system test cases to use parameterized base test
 -

 Key: YARN-3974
 URL: https://issues.apache.org/jira/browse/YARN-3974
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subru Krishnan
Assignee: Subru Krishnan
 Attachments: YARN-3974-v1.patch, YARN-3974-v2.patch, 
 YARN-3974-v3.patch, YARN-3974-v4.patch, YARN-3974-v5.patch


 We have two test suites for testing ReservationSystem against Capacity  Fair 
 scheduler. We should combine them using a parametrized reservation system 
 base test similar to YARN-2797



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


[jira] [Updated] (YARN-3974) Refactor the reservation system test cases to use parameterized base test

2015-07-29 Thread Subru Krishnan (JIRA)

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

Subru Krishnan updated YARN-3974:
-
Attachment: YARN-3974-v4.patch

Uploading an updated patch that fixes the checkstyle issue

 Refactor the reservation system test cases to use parameterized base test
 -

 Key: YARN-3974
 URL: https://issues.apache.org/jira/browse/YARN-3974
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subru Krishnan
Assignee: Subru Krishnan
 Attachments: YARN-3974-v1.patch, YARN-3974-v2.patch, 
 YARN-3974-v3.patch, YARN-3974-v4.patch


 We have two test suites for testing ReservationSystem against Capacity  Fair 
 scheduler. We should combine them using a parametrized reservation system 
 base test similar to YARN-2797



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


[jira] [Updated] (YARN-3974) Refactor the reservation system test cases to use parameterized base test

2015-07-27 Thread Subru Krishnan (JIRA)

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

Subru Krishnan updated YARN-3974:
-
Attachment: YARN-3974-v3.patch

Thanks [~adhoot] for the feedback and the updated patch. I have simplified the 
patch further:
   * by directly using _schedulerType_ instead of adding a new 
_reservationSystemType_
   * renamed getreservationQueueName - getReservationQueueName
   * cleaning up unused methods
   * fixed minor checkstyle  javadoc issues due to merge of YARN-3656

 Refactor the reservation system test cases to use parameterized base test
 -

 Key: YARN-3974
 URL: https://issues.apache.org/jira/browse/YARN-3974
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subru Krishnan
Assignee: Subru Krishnan
 Attachments: YARN-3974-v1.patch, YARN-3974-v2.patch, 
 YARN-3974-v3.patch


 We have two test suites for testing ReservationSystem against Capacity  Fair 
 scheduler. We should combine them using a parametrized reservation system 
 base test similar to YARN-2797



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


[jira] [Updated] (YARN-3974) Refactor the reservation system test cases to use parameterized base test

2015-07-24 Thread Subru Krishnan (JIRA)

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

Subru Krishnan updated YARN-3974:
-
Attachment: YARN-3974-v1.patch

Attaching a straightforward patch that:
   * adds a unified reservation system test suite - _TestReservationSystem_ 
based on the new _ParameterizedReservationSystemTestBase_. 
   * removed the now redundant _TestCapacityReservationSystem_ and 
_TestFairReservationSystem_.
   * Minor formatting fixes

 Refactor the reservation system test cases to use parameterized base test
 -

 Key: YARN-3974
 URL: https://issues.apache.org/jira/browse/YARN-3974
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subru Krishnan
Assignee: Subru Krishnan
 Attachments: YARN-3974-v1.patch


 We have two test suites for testing ReservationSystem against Capacity  Fair 
 scheduler. We should combine them using a parametrized reservation system 
 base test similar to YARN-2797



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


[jira] [Updated] (YARN-3974) Refactor the reservation system test cases to use parameterized base test

2015-07-24 Thread Anubhav Dhoot (JIRA)

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

Anubhav Dhoot updated YARN-3974:

Attachment: YARN-3974-v2.patch

Patch that removes ParametrizedReservationSystemTestBase and used 
ParameterizedSchedulerTestBase instead

 Refactor the reservation system test cases to use parameterized base test
 -

 Key: YARN-3974
 URL: https://issues.apache.org/jira/browse/YARN-3974
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: capacityscheduler, fairscheduler
Reporter: Subru Krishnan
Assignee: Subru Krishnan
 Attachments: YARN-3974-v1.patch, YARN-3974-v2.patch


 We have two test suites for testing ReservationSystem against Capacity  Fair 
 scheduler. We should combine them using a parametrized reservation system 
 base test similar to YARN-2797



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