Uses of Class
org.apache.hadoop.yarn.service.api.records.Component
Packages that use Component
-
Uses of Component in org.apache.hadoop.yarn.service.api.records
Methods in org.apache.hadoop.yarn.service.api.records that return ComponentModifier and TypeMethodDescriptionArtifact of the component (optional).Component.configuration(Configuration configuration) Config properties for this component.Component.decommissionedInstances(List<String> decommissionedInstances) A list of decommissioned component instances.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.Service.getComponent(String name) Component.launchCommand(String launchCommand) The custom launch command of this component (optional).Name of the service component (mandatory).Component.numberOfContainers(Long numberOfContainers) Number of containers for this component (optional).Component.placementPolicy(PlacementPolicy placementPolicy) Advanced scheduling and placement policies for all containers of this component.Component.quicklinks(List<String> quicklinks) A list of quicklink keys defined at the service level, and to be resolved by this component.Component.readinessCheck(ReadinessCheck readinessCheck) Readiness check for this component.Resource of this component (optional).Component.restartPolicy(Component.RestartPolicyEnum restartPolicyEnumVal) Component.runPrivilegedContainer(Boolean runPrivilegedContainer) Run all containers of this component in privileged mode (YARN-4262).Component.state(ComponentState state) Methods in org.apache.hadoop.yarn.service.api.records that return types with arguments of type ComponentMethods in org.apache.hadoop.yarn.service.api.records with parameters of type ComponentModifier and TypeMethodDescriptionvoidService.addComponent(Component component) voidMerge from another component into this component without overwriting.voidMethod parameters in org.apache.hadoop.yarn.service.api.records with type arguments of type ComponentModifier and TypeMethodDescriptionService.components(List<Component> components) Components of an service.voidService.setComponents(List<Component> components)