public class MapRedStats extends Object
Constructor and Description |
---|
MapRedStats(int numMap,
int numReduce,
long cpuMSec,
boolean ifSuccess,
String jobId) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.Counters |
getCounters() |
long |
getCpuMSec() |
String |
getJobId() |
int |
getNumMap() |
int |
getNumReduce() |
String |
getTaskNumbers() |
boolean |
isSuccess() |
void |
setCounters(org.apache.hadoop.mapred.Counters taskCounters) |
void |
setCpuMSec(long cpuMSec) |
void |
setJobId(String jobId) |
void |
setNumMap(int numMap) |
void |
setNumReduce(int numReduce) |
void |
setSuccess(boolean success) |
String |
toString() |
public MapRedStats(int numMap, int numReduce, long cpuMSec, boolean ifSuccess, String jobId)
public boolean isSuccess()
public long getCpuMSec()
public int getNumMap()
public void setNumMap(int numMap)
public int getNumReduce()
public void setNumReduce(int numReduce)
public void setCounters(org.apache.hadoop.mapred.Counters taskCounters)
public org.apache.hadoop.mapred.Counters getCounters()
public void setCpuMSec(long cpuMSec)
public void setSuccess(boolean success)
public String getJobId()
public void setJobId(String jobId)
public String getTaskNumbers()
Copyright © 2017 The Apache Software Foundation. All rights reserved.