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() |
getAttemptID
public 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–2024 Apache Software Foundation. All rights reserved.