| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.service.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | Component. artifact(Artifact artifact)Artifact of the component (optional). | 
| Component | Component. configuration(Configuration configuration)Config properties for this component. | 
| Component | Component. decommissionedInstances(List<String> decommissionedInstances)A list of decommissioned component instances. | 
| Component | Component. dependencies(List<String> dependencies)An array of service components which should be in READY state (as
 defined by readiness check), before this component can be started. | 
| Component | Service. getComponent(String name) | 
| Component | Component. launchCommand(String launchCommand)The custom launch command of this component (optional). | 
| Component | Component. name(String name)Name of the service component (mandatory). | 
| Component | Component. numberOfContainers(Long numberOfContainers)Number of containers for this component (optional). | 
| Component | Component. placementPolicy(PlacementPolicy placementPolicy)Advanced scheduling and placement policies for all containers of this
 component. | 
| Component | Component. quicklinks(List<String> quicklinks)A list of quicklink keys defined at the service level, and to be
 resolved by this component. | 
| Component | Component. readinessCheck(ReadinessCheck readinessCheck)Readiness check for this component. | 
| Component | Component. resource(Resource resource)Resource of this component (optional). | 
| Component | Component. restartPolicy(org.apache.hadoop.yarn.service.api.records.Component.RestartPolicyEnum restartPolicyEnumVal) | 
| Component | Component. runPrivilegedContainer(Boolean runPrivilegedContainer)Run all containers of this component in privileged mode (YARN-4262). | 
| Component | Component. state(ComponentState state) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Component> | Service. getComponents() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Service. addComponent(Component component) | 
| void | Component. mergeFrom(Component that)Merge from another component into this component without overwriting. | 
| void | Component. overwrite(Component that) | 
| Modifier and Type | Method and Description | 
|---|---|
| Service | Service. components(List<Component> components)Components of an service. | 
| void | Service. setComponents(List<Component> components) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.