@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface FederationApplicationHomeSubClusterStore
The mapping details contains:
ApplicationId
SubClusterId
Modifier and Type | Method and Description |
---|---|
AddApplicationHomeSubClusterResponse |
addApplicationHomeSubCluster(AddApplicationHomeSubClusterRequest request)
Register the home
SubClusterId of the newly submitted
ApplicationId . |
DeleteApplicationHomeSubClusterResponse |
deleteApplicationHomeSubCluster(DeleteApplicationHomeSubClusterRequest request)
Delete the mapping of home
SubClusterId of a previously submitted
ApplicationId . |
GetApplicationHomeSubClusterResponse |
getApplicationHomeSubCluster(GetApplicationHomeSubClusterRequest request)
Get information about the application identified by the input
ApplicationId . |
GetApplicationsHomeSubClusterResponse |
getApplicationsHomeSubCluster(GetApplicationsHomeSubClusterRequest request)
Get the
ApplicationHomeSubCluster list representing the mapping of
all submitted applications to it's home sub-cluster. |
UpdateApplicationHomeSubClusterResponse |
updateApplicationHomeSubCluster(UpdateApplicationHomeSubClusterRequest request)
Update the home
SubClusterId of a previously submitted
ApplicationId . |
AddApplicationHomeSubClusterResponse addApplicationHomeSubCluster(AddApplicationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId
of the newly submitted
ApplicationId
. Currently response is empty if the operation was
successful, if not an exception reporting reason for a failure. If a
mapping for the application already existed, the SubClusterId
in
this response will return the existing mapping which might be different
from that in the AddApplicationHomeSubClusterRequest
.request
- the request to register a new application with its home
sub-clusterAddApplicationHomeSubClusterRequest
containing the home
sub-cluster of the application. Otherwise, an exception reporting
reason for a failureorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsUpdateApplicationHomeSubClusterResponse updateApplicationHomeSubCluster(UpdateApplicationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId
of a previously submitted
ApplicationId
. 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 an
application.org.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsGetApplicationHomeSubClusterResponse getApplicationHomeSubCluster(GetApplicationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
ApplicationId
.request
- contains the application queriedApplicationHomeSubCluster
containing the application's home
subclusterorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsGetApplicationsHomeSubClusterResponse getApplicationsHomeSubCluster(GetApplicationsHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
ApplicationHomeSubCluster
list representing the mapping of
all submitted applications to it's home sub-cluster.request
- empty representing all applicationsorg.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsDeleteApplicationHomeSubClusterResponse deleteApplicationHomeSubCluster(DeleteApplicationHomeSubClusterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
SubClusterId
of a previously submitted
ApplicationId
. 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 an
application.org.apache.hadoop.yarn.exceptions.YarnException
- if the request is invalid/failsCopyright © 2022 Apache Software Foundation. All rights reserved.