public class ContainerRequestEvent extends ContainerAllocatorEvent
| Constructor and Description | 
|---|
| ContainerRequestEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
                     org.apache.hadoop.yarn.api.records.Resource capability,
                     String[] hosts,
                     String[] racks) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ContainerRequestEvent | createContainerRequestEventForFailedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
                                             org.apache.hadoop.yarn.api.records.Resource capability) | 
| org.apache.hadoop.yarn.api.records.Resource | getCapability() | 
| boolean | getEarlierAttemptFailed() | 
| String[] | getHosts() | 
| String[] | getRacks() | 
getAttemptIDpublic static ContainerRequestEvent createContainerRequestEventForFailedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID, org.apache.hadoop.yarn.api.records.Resource capability)
public org.apache.hadoop.yarn.api.records.Resource getCapability()
public String[] getHosts()
public String[] getRacks()
public boolean getEarlierAttemptFailed()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.