public class LoggedJob extends Object implements DeepCompare
LoggedDiscreteCDF
is a representation of an hadoop job, with the
details of this class set up to meet the requirements of the Jackson JSON
parser/generator.
All of the public methods are simply accessors for the instance variables we
want to write out in the JSON files.限定符和类型 | 类和说明 |
---|---|
static class |
LoggedJob.JobPriority |
static class |
LoggedJob.JobType |
public Properties getJobProperties()
public String getUser()
public String getJobID()
public LoggedJob.JobPriority getPriority()
public long getComputonsPerMapInputByte()
public long getComputonsPerMapOutputByte()
public long getComputonsPerReduceInputByte()
public long getComputonsPerReduceOutputByte()
public long getSubmitTime()
public long getLaunchTime()
public long getFinishTime()
public int getHeapMegabytes()
public int getTotalMaps()
public int getTotalReduces()
public Pre21JobHistoryConstants.Values getOutcome()
public LoggedJob.JobType getJobtype()
public List<LoggedTask> getMapTasks()
public List<LoggedTask> getReduceTasks()
public List<LoggedTask> getOtherTasks()
public ArrayList<LoggedDiscreteCDF> getSuccessfulMapAttemptCDFs()
public ArrayList<LoggedDiscreteCDF> getFailedMapAttemptCDFs()
public LoggedDiscreteCDF getSuccessfulReduceAttemptCDF()
public LoggedDiscreteCDF getFailedReduceAttemptCDF()
public double[] getMapperTriesToSucceed()
public double getFailedMapperFraction()
public long getRelativeTime()
public String getQueue()
public String getJobName()
public int getClusterMapMB()
public int getClusterReduceMB()
public int getJobMapMB()
public int getJobReduceMB()
public void deepCompare(DeepCompare comparand, TreePath loc) throws DeepInequalityException
deepCompare
在接口中 DeepCompare
comparand
- the other comparand that's being compared to meloc
- the path that got to me. In the root, myLocation is null. To
process the scalar foo
field of the root we will make a
recursive call with a TreePath
whose fieldName
is
"bar"
and whose index
is -1 and whose parent
is null
. To process the plural bar
field
of the root we will make a recursive call with a TreePath
whose fieldName is "foo"
and whose index
is -1 and
whose parent
is also null
.DeepInequalityException
Copyright © 2009 The Apache Software Foundation