[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-10-06 Thread Subru Krishnan (JIRA)

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

Subru Krishnan updated YARN-1708:
-
Fix Version/s: 2.6.0

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino
Assignee: Subru Krishnan
 Fix For: 2.6.0

 Attachments: YARN-1708.patch, YARN-1708.patch, YARN-1708.patch, 
 YARN-1708.patch


 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



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


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-09-11 Thread Subramaniam Krishnan (JIRA)

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

Subramaniam Krishnan updated YARN-1708:
---
Attachment: YARN-1708.patch

Rebased patch after sync-ing branch yarn-1051 with trunk

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino
Assignee: Subramaniam Krishnan
 Attachments: YARN-1708.patch, YARN-1708.patch, YARN-1708.patch, 
 YARN-1708.patch


 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



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


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-09-04 Thread Subramaniam Krishnan (JIRA)

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

Subramaniam Krishnan updated YARN-1708:
---
Attachment: YARN-1708.patch

Thanks [~vinodkv] for reviewing the patch. I am uploading a new patch that has 
the following fixes based on your comments:
  * All the newInstance methods and setters in the Reservation*Response objects 
should be marked as private.
  * Replaced hashCode with IDE generated one in ReservationId
  * Renamed ReservationRequests.{set|get}Type - {set|get}Interpretor, also in 
ReservationRequestsProto.type.
   * Renamed ReservationRequest.leaseDuration to be simply duration to make it 
consistent with ReservationRequestProto.duration

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino
Assignee: Subramaniam Krishnan
 Attachments: YARN-1708.patch, YARN-1708.patch, YARN-1708.patch


 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



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


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-08-27 Thread Subramaniam Krishnan (JIRA)

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

Subramaniam Krishnan updated YARN-1708:
---

Attachment: YARN-1708.patch

Thanks [~vinodkv] for taking the time to review and for the follow up 
discussions. I am uploading a new API patch based on the consensus we reached.

The summary of the changes are:

 - Make all proto fields as optional, with default and add server side code to 
check for required fields.
 - Rename ReservationCreateRequestProto - ReservationSubmissionRequestProto
 - Rename ReservationDescriptionProto - ReservationRequestsProto
 - Rename ReservationResourceRequestProto - ReservationRequestsProto
 - Added a new ReservationRequestProto which will be specifically to specify 
resources to reserve instead of reusing ResourceRequestProto as currently 
reservations does not use locality constraints. In future we see convergence of 
both.
 - Rename ReservationDescriptionInterpreterProto - 
ReservationRequestInterpreterProto. Added examples for each reservation type in 
Javadoc.
 - ReservationHandle is not needed. 
 - Add ReservationIdProto: ClusterTimeStamp + long id : Similar to appIDs
 - Rename ReservationCreateResponseProto - ReservationSubmissionResponseProto
 - ReservationUpdateRequestProto: No need to pass queue-name
  -- Instead should specify ReservationID and the effect will be to replace the 
existing reservation with new one.
 - ReservationUpdateResponseProto: Can just be empty
 - Add a ReservationDeleteRequestProto with ReservationId which will be deleted
 - ReservationDeleteResponseProto: again can just be empty

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino
Assignee: Subramaniam Krishnan
 Attachments: YARN-1708.patch, YARN-1708.patch


 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-05-05 Thread Subramaniam Krishnan (JIRA)

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

Subramaniam Krishnan updated YARN-1708:
---

Attachment: YARN-1708.patch

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino
Assignee: Subramaniam Krishnan
 Attachments: YARN-1708.patch


 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-02-11 Thread Carlo Curino (JIRA)

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

Carlo Curino updated YARN-1708:
---

Issue Type: Sub-task  (was: Improvement)
Parent: YARN-1051

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Carlo Curino

 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (YARN-1708) Add a public API to reserve resources (part of YARN-1051)

2014-02-10 Thread Carlo Curino (JIRA)

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

Carlo Curino updated YARN-1708:
---

Summary: Add a public API to reserve resources (part of YARN-1051)  (was: 
Add a public API to reserve resources (part of YARN-1051 )

 Add a public API to reserve resources (part of YARN-1051)
 -

 Key: YARN-1708
 URL: https://issues.apache.org/jira/browse/YARN-1708
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: resourcemanager
Reporter: Carlo Curino

 This JIRA tracks the definition of a new public API for YARN, which allows 
 users to reserve resources (think of time-bounded queues). This is part of 
 the admission control enhancement proposed in YARN-1051.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)