public class ContainerImpl extends Object implements Container
| Constructor and Description |
|---|
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
org.apache.hadoop.yarn.api.records.ContainerStatus |
cloneAndGetContainerStatus() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerID() |
ContainerState |
getContainerState() |
org.apache.hadoop.security.Credentials |
getCredentials() |
org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getLaunchContext() |
Map<org.apache.hadoop.fs.Path,List<String>> |
getLocalizedResources() |
String |
getUser() |
void |
handle(ContainerEvent event) |
String |
toString() |
public ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics)
public org.apache.hadoop.yarn.api.records.ContainerId getContainerID()
getContainerID in interface Containerpublic Map<org.apache.hadoop.fs.Path,List<String>> getLocalizedResources()
getLocalizedResources in interface Containerpublic org.apache.hadoop.security.Credentials getCredentials()
getCredentials in interface Containerpublic ContainerState getContainerState()
getContainerState in interface Containerpublic org.apache.hadoop.yarn.api.records.ContainerLaunchContext getLaunchContext()
getLaunchContext in interface Containerpublic org.apache.hadoop.yarn.api.records.ContainerStatus cloneAndGetContainerStatus()
cloneAndGetContainerStatus in interface Containerpublic void cleanup()
public void handle(ContainerEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<ContainerEvent>Copyright © 2014 Apache Software Foundation. All Rights Reserved.