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 |
---|---|
Container |
Container.artifact(Artifact artifact)
Artifact used for this container.
|
Container |
Container.bareHost(String bareHost)
The bare node or host in which the container is running, e.g.
|
Container |
Container.componentInstanceName(String componentInstanceName)
Name of the component instance that this container instance belongs to.
|
Container |
Component.getComponentInstance(String compInstanceName) |
Container |
Component.getContainer(String id) |
Container |
Container.hostname(String hostname)
Fully qualified hostname of a running container, e.g.
|
Container |
Container.id(String id)
Unique container id of a running service, e.g.
|
Container |
Container.ip(String ip)
IP address of a running container, e.g.
|
Container |
Container.launchTime(Date launchTime)
The time when the container was created, e.g.
|
Container |
Container.localizationStatuses(List<LocalizationStatus> statuses)
Sets the localization statuses and returns the container.
|
Container |
Container.privilegedContainer(Boolean privilegedContainer)
Container running in privileged mode or not.
|
Container |
Container.resource(Resource resource)
Resource used for this container.
|
Container |
Container.state(ContainerState state)
State of the container of an service.
|
Modifier and Type | Method and Description |
---|---|
List<Container> |
ComponentContainers.getContainers()
Returns the containers of the component.
|
List<Container> |
Component.getContainers() |
Modifier and Type | Method and Description |
---|---|
void |
ComponentContainers.addContainer(Container container)
Add a container.
|
void |
Component.addContainer(Container container) |
void |
Component.removeContainer(Container container) |
Modifier and Type | Method and Description |
---|---|
ComponentContainers |
ComponentContainers.containers(List<Container> compContainers)
Sets the containers.
|
void |
ComponentContainers.setContainers(List<Container> containers)
Sets the containers.
|
void |
Component.setContainers(List<Container> containers) |
Modifier and Type | Method and Description |
---|---|
int |
ServiceClient.actionUpgrade(Service service,
List<Container> compInstances) |
Copyright © 2023 Apache Software Foundation. All rights reserved.