Uses of Class
org.apache.hadoop.yarn.service.api.records.Container
Packages that use Container
Package
Description
ATS implementation
-
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) -
Uses of Container in org.apache.hadoop.yarn.service.component.instance
Methods in org.apache.hadoop.yarn.service.component.instance that return Container -
Uses of Container in org.apache.hadoop.yarn.service.timelineservice
Methods in org.apache.hadoop.yarn.service.timelineservice with parameters of type ContainerModifier and TypeMethodDescriptionvoidServiceTimelinePublisher.componentInstanceBecomeReady(Container container) voidServiceTimelinePublisher.componentInstanceIPHostUpdated(Container container) voidServiceTimelinePublisher.componentInstanceStarted(Container container, ComponentInstance instance) -
Uses of Container in org.apache.hadoop.yarn.service.utils
Methods in org.apache.hadoop.yarn.service.utils that return types with arguments of type ContainerModifier and TypeMethodDescriptionServiceApiUtil.getLiveContainers(Service service, List<String> componentInstances) ServiceApiUtil.validateAndResolveCompsStable(Service liveService, Collection<String> compNames) Validates the components that are requested are stable for upgrade.ServiceApiUtil.validateAndResolveCompsUpgrade(Service liveService, Collection<String> compNames) Validates the components that are requested to upgrade require an upgrade.Methods in org.apache.hadoop.yarn.service.utils with parameters of type ContainerModifier and TypeMethodDescriptionstatic booleanServiceApiUtil.isUpgradable(Container container) Returns whether the container can be upgraded in the current state.Method parameters in org.apache.hadoop.yarn.service.utils with type arguments of type ContainerModifier and TypeMethodDescriptionstatic voidServiceApiUtil.validateInstancesUpgrade(List<Container> liveContainers) Validates that the component instances that are requested to upgrade require an upgrade.