org.apache.hadoop.mapreduce.jobhistory
Class JobHistoryParser.AMInfo
java.lang.Object
org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.AMInfo
- Enclosing class:
- JobHistoryParser
public static class JobHistoryParser.AMInfo
- extends Object
Stores AM information
Constructor Summary |
JobHistoryParser.AMInfo()
Create a AM Info which will store AM level information on a history
parse. |
JobHistoryParser.AMInfo(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String nodeManagerHost,
int nodeManagerPort,
int nodeManagerHttpPort)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobHistoryParser.AMInfo
public JobHistoryParser.AMInfo()
- Create a AM Info which will store AM level information on a history
parse.
JobHistoryParser.AMInfo
public JobHistoryParser.AMInfo(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String nodeManagerHost,
int nodeManagerPort,
int nodeManagerHttpPort)
printAll
public void printAll()
- Print all the information about this AM.
getAppAttemptId
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId()
- Returns:
- the ApplicationAttemptId
getStartTime
public long getStartTime()
- Returns:
- the start time of the AM
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
- Returns:
- the container id for the AM
getNodeManagerHost
public String getNodeManagerHost()
- Returns:
- the host name for the node manager on which the AM is running
getNodeManagerPort
public int getNodeManagerPort()
- Returns:
- the port for the node manager running the AM
getNodeManagerHttpPort
public int getNodeManagerHttpPort()
- Returns:
- the http port for the node manager running the AM
Copyright © 2013 Apache Software Foundation. All Rights Reserved.