public interface YarnContainerClusterOperations
YarnContainerClusterTemplate
.Modifier and Type | Method and Description |
---|---|
ContainerClusterResource |
clusterCreate(ContainerClusterCreateRequest request)
Create a container cluster.
|
void |
clusterDestroy(java.lang.String clusterId)
Destroy a container cluster.
|
ContainerClusterResource |
clusterInfo(java.lang.String clusterId)
Get a container cluster info.
|
ContainerClusterResource |
clusterModify(java.lang.String clusterId,
ContainerClusterCreateRequest request)
Modify a container cluster.
|
ContainerClusterResource |
clusterStart(java.lang.String clusterId,
ContainerClusterModifyRequest request)
Start a container cluster.
|
ContainerClusterResource |
clusterStop(java.lang.String clusterId,
ContainerClusterModifyRequest request)
Stop a container cluster.
|
YarnContainerClusterEndpointResource |
getClusters()
Get a clusters info.
|
YarnContainerClusterEndpointResource getClusters() throws YarnContainerClusterClientException
YarnContainerClusterEndpointResource
YarnContainerClusterClientException
- if client experienced an errorContainerClusterResource clusterCreate(ContainerClusterCreateRequest request) throws YarnContainerClusterClientException
request
- the create requestContainerClusterResource
YarnContainerClusterClientException
- if client experienced an errorContainerClusterResource clusterInfo(java.lang.String clusterId) throws YarnContainerClusterClientException
clusterId
- the cluster identifierContainerClusterResource
YarnContainerClusterClientException
- if client experienced an errorContainerClusterResource clusterStart(java.lang.String clusterId, ContainerClusterModifyRequest request) throws YarnContainerClusterClientException
clusterId
- the cluster identifierrequest
- the modify request.ContainerClusterResource
YarnContainerClusterClientException
- if client experienced an errorContainerClusterResource clusterStop(java.lang.String clusterId, ContainerClusterModifyRequest request) throws YarnContainerClusterClientException
clusterId
- the cluster identifierrequest
- the modify request.ContainerClusterResource
YarnContainerClusterClientException
- if client experienced an errorContainerClusterResource clusterModify(java.lang.String clusterId, ContainerClusterCreateRequest request) throws YarnContainerClusterClientException
clusterId
- the cluster identifierrequest
- the create request.ContainerClusterResource
YarnContainerClusterClientException
- if client experienced an errorvoid clusterDestroy(java.lang.String clusterId) throws YarnContainerClusterClientException
clusterId
- the cluster identifierYarnContainerClusterClientException
- if client experienced an error