public interface ContainerClusterAppmaster extends YarnAppmaster
YarnAppmaster
which is controlling
container clusters.Modifier and Type | Method and Description |
---|---|
ContainerCluster |
createContainerCluster(java.lang.String clusterId,
ProjectionData projection) |
ContainerCluster |
createContainerCluster(java.lang.String clusterId,
java.lang.String clusterDef,
ProjectionData projection,
java.util.Map<java.lang.String,java.lang.Object> extraProperties) |
void |
destroyContainerCluster(java.lang.String id) |
java.util.Map<java.lang.String,ContainerCluster> |
getContainerClusters() |
void |
modifyContainerCluster(java.lang.String id,
ProjectionData data) |
void |
startContainerCluster(java.lang.String id) |
void |
stopContainerCluster(java.lang.String id) |
addAppmasterStateListener, setEnvironment, setParameters, submitApplication
java.util.Map<java.lang.String,ContainerCluster> getContainerClusters()
ContainerCluster createContainerCluster(java.lang.String clusterId, ProjectionData projection)
ContainerCluster createContainerCluster(java.lang.String clusterId, java.lang.String clusterDef, ProjectionData projection, java.util.Map<java.lang.String,java.lang.Object> extraProperties)
void startContainerCluster(java.lang.String id)
void stopContainerCluster(java.lang.String id)
void destroyContainerCluster(java.lang.String id)
void modifyContainerCluster(java.lang.String id, ProjectionData data)