@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface FederationReservationHomeSubClusterStore
The mapping details contains:
ReservationIdSubClusterIdAddReservationHomeSubClusterResponse addReservationHomeSubCluster(AddReservationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId of the newly submitted
ReservationId. Currently response is empty if the operation was
successful, if not an exception reporting reason for a failure. If a
mapping for the Reservation already existed, the SubClusterId in
this response will return the existing mapping which might be different
from that in the AddReservationHomeSubClusterRequest.request - the request to register a new Reservation with its home
sub-clusterAddReservationHomeSubClusterRequest containing the home
sub-cluster of the Reservation. Otherwise, an exception reporting
reason for a failureorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsGetReservationHomeSubClusterResponse getReservationHomeSubCluster(GetReservationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
ReservationId.request - contains the Reservation queriedReservationHomeSubCluster containing the Reservation's home
subclusterorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsGetReservationsHomeSubClusterResponse getReservationsHomeSubCluster(GetReservationsHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
ReservationHomeSubCluster list representing the mapping of
all submitted Reservations to it's home sub-cluster.request - empty representing all Reservationsorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsUpdateReservationHomeSubClusterResponse updateReservationHomeSubCluster(UpdateReservationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId of a previously submitted
ReservationId. Currently response is empty if the operation was
successful, if not an exception reporting reason for a failure.request - the request to update the home sub-cluster of a reservation.org.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsDeleteReservationHomeSubClusterResponse deleteReservationHomeSubCluster(DeleteReservationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId of a previously submitted
ReservationId. Currently response is empty if the operation was
successful, if not an exception reporting reason for a failure.request - the request to delete the home sub-cluster of a reservation.org.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsCopyright © 2008–2024 Apache Software Foundation. All rights reserved.