|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.resourcemanager.reservation.ReservationInputValidator
public class ReservationInputValidator
| Constructor Summary | |
|---|---|
ReservationInputValidator(org.apache.hadoop.yarn.util.Clock clock)
Utility class to validate reservation requests. |
|
| Method Summary | |
|---|---|
Plan |
validateReservationDeleteRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationDeleteRequest request)
Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures |
Plan |
validateReservationSubmissionRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request,
org.apache.hadoop.yarn.api.records.ReservationId reservationId)
Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures |
Plan |
validateReservationUpdateRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationUpdateRequest request)
Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReservationInputValidator(org.apache.hadoop.yarn.util.Clock clock)
| Method Detail |
|---|
public Plan validateReservationSubmissionRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request,
org.apache.hadoop.yarn.api.records.ReservationId reservationId)
throws org.apache.hadoop.yarn.exceptions.YarnException
Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures
reservationSystem - the ReservationSystem to validate againstrequest - the ReservationSubmissionRequest defining the
resources required over time for the requestreservationId - the ReservationId associated with the current
request
Plan to submit the request to
org.apache.hadoop.yarn.exceptions.YarnException
public Plan validateReservationUpdateRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationUpdateRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures
reservationSystem - the ReservationSystem to validate againstrequest - the ReservationUpdateRequest defining the resources
required over time for the request
Plan to submit the request to
org.apache.hadoop.yarn.exceptions.YarnException
public Plan validateReservationDeleteRequest(ReservationSystem reservationSystem,
org.apache.hadoop.yarn.api.protocolrecords.ReservationDeleteRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException
Plan associated with
the specified Queue or throws an exception message illustrating the
details of any validation check failures
reservationSystem - the ReservationSystem to validate againstrequest - the ReservationDeleteRequest defining the resources
required over time for the request
Plan to submit the request to
org.apache.hadoop.yarn.exceptions.YarnException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||