Uses of Class
org.apache.hadoop.yarn.service.api.records.Container
Packages that use Container
Package
Description
Package org.apache.hadoop.yarn.service.client contains classes
for YARN Services Client API.
-
Uses of Container in org.apache.hadoop.yarn.service.api.records
Methods in org.apache.hadoop.yarn.service.api.records that return ContainerModifier and TypeMethodDescriptionArtifact used for this container.The bare node or host in which the container is running, e.g.Container.componentInstanceName(String componentInstanceName) Name of the component instance that this container instance belongs to.Component.getComponentInstance(String compInstanceName) Component.getContainer(String id) Fully qualified hostname of a running container, e.g.Unique container id of a running service, e.g.IP address of a running container, e.g. 172.31.42.141.Container.launchTime(Date launchTime) The time when the container was created, e.g. 2016-03-16T01:01:49.000Z.Container.localizationStatuses(List<LocalizationStatus> statuses) Sets the localization statuses and returns the container.Container.privilegedContainer(Boolean privilegedContainer) Container running in privileged mode or not.Resource used for this container.Container.state(ContainerState state) State of the container of an service.Methods in org.apache.hadoop.yarn.service.api.records that return types with arguments of type ContainerModifier and TypeMethodDescriptionComponent.getContainers()ComponentContainers.getContainers()Returns the containers of the component.Methods in org.apache.hadoop.yarn.service.api.records with parameters of type ContainerModifier and TypeMethodDescriptionvoidComponent.addContainer(Container container) voidComponentContainers.addContainer(Container container) Add a container.voidComponent.removeContainer(Container container) Method parameters in org.apache.hadoop.yarn.service.api.records with type arguments of type ContainerModifier and TypeMethodDescriptionComponentContainers.containers(List<Container> compContainers) Sets the containers.voidComponent.setContainers(List<Container> containers) voidComponentContainers.setContainers(List<Container> containers) Sets the containers. -
Uses of Container in org.apache.hadoop.yarn.service.client
Method parameters in org.apache.hadoop.yarn.service.client with type arguments of type ContainerModifier and TypeMethodDescriptionintServiceClient.actionUpgrade(Service service, List<Container> compInstances)