| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.service.api.records | |
| org.apache.hadoop.yarn.service.client | Package org.apache.hadoop.yarn.service.client contains classes
 for YARN Services Client API. | 
| Modifier and Type | Method and Description | 
|---|---|
| ContainerState | Container. getState() | 
| static ContainerState | ContainerState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ContainerState[] | ContainerState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Container. setState(ContainerState state) | 
| Container | Container. state(ContainerState state)State of the container of an service. | 
| Modifier and Type | Method and Description | 
|---|---|
| ComponentContainers[] | ServiceClient. getContainers(String appName,
             List<String> components,
             String version,
             List<ContainerState> containerStates) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.