com.cloudera.api.model
Class ApiMrUsageReportRow

java.lang.Object
  extended by com.cloudera.api.model.ApiMrUsageReportRow

public class ApiMrUsageReportRow
extends Object


Constructor Summary
ApiMrUsageReportRow()
           
ApiMrUsageReportRow(String timePeriod, String user, String group, long cpuSec, long memoryBytes, long jobCount, long taskCount, long durationSec)
           
ApiMrUsageReportRow(String timePeriod, String user, String group, long cpuSec, long memoryBytes, long jobCount, long taskCount, long durationSec, long failedMaps, long totalMaps, long failedReduces, long totalReduces, long mapInputBytes, long mapOutputBytes, long hdfsBytesRead, long hdfsBytesWritten, long localBytesRead, long localBytesWritten, long dataLocalMaps, long rackLocalMaps)
           
 
Method Summary
 Long getCpuSec()
          Amount of CPU time (in seconds) taken up this user's MapReduce jobs.
 Long getDataLocalMaps()
          Data local maps of this user's MapReduce jobs.
 Long getDurationSec()
          Total duration of this user's MapReduce jobs.
 Long getFailedMaps()
          Failed maps of this user's MapReduce jobs.
 Long getFailedReduces()
          Failed reduces of this user's MapReduce jobs.
 String getGroup()
          The group this user belongs to.
 Long getHdfsBytesRead()
          HDFS bytes read of this user's MapReduce jobs.
 Long getHdfsBytesWritten()
          HDFS bytes written of this user's MapReduce jobs.
 Long getJobCount()
          Number of jobs.
 Long getLocalBytesRead()
          Local bytes read of this user's MapReduce jobs.
 Long getLocalBytesWritten()
          Local bytes written of this user's MapReduce jobs.
 Long getMapInputBytes()
          Map input bytes of this user's MapReduce jobs.
 Long getMapOutputBytes()
          Map output bytes of this user's MapReduce jobs.
 Long getMemoryBytes()
          The sum of physical memory used (collected as a snapshot) by this user's MapReduce jobs.
 Long getRackLocalMaps()
          Rack local maps of this user's MapReduce jobs.
 Long getTaskCount()
          Number of tasks.
 String getTimePeriod()
          The time period over which this report is generated.
 Long getTotalMaps()
          Total maps of this user's MapReduce jobs.
 Long getTotalReduces()
          Total reduces of this user's MapReduce jobs.
 String getUser()
          The user being reported.
 void setCpuSec(long cpuSec)
           
 void setDataLocalMaps(long dataLocalMaps)
           
 void setDurationSec(long durationSec)
           
 void setFailedMaps(long failedMaps)
           
 void setFailedReduces(long failedReduces)
           
 void setGroup(String group)
           
 void setHdfsBytesRead(long hdfsBytesRead)
           
 void setHdfsBytesWritten(long hdfsBytesWritten)
           
 void setJobCount(long jobCount)
           
 void setLocalBytesRead(long localBytesRead)
           
 void setLocalBytesWritten(long localBytesWritten)
           
 void setMapInputBytes(long mapInputBytes)
           
 void setMapOutputBytes(long mapOutputBytes)
           
 void setMemoryBytes(long memoryBytes)
           
 void setRackLocalMaps(long rackLocalMaps)
           
 void setTaskCount(long taskCount)
           
 void setTimePeriod(String timePeriod)
           
 void setTotalMaps(long totalMaps)
           
 void setTotalReduces(long totalReduces)
           
 void setUser(String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiMrUsageReportRow

public ApiMrUsageReportRow()

ApiMrUsageReportRow

public ApiMrUsageReportRow(String timePeriod,
                           String user,
                           String group,
                           long cpuSec,
                           long memoryBytes,
                           long jobCount,
                           long taskCount,
                           long durationSec)

ApiMrUsageReportRow

public ApiMrUsageReportRow(String timePeriod,
                           String user,
                           String group,
                           long cpuSec,
                           long memoryBytes,
                           long jobCount,
                           long taskCount,
                           long durationSec,
                           long failedMaps,
                           long totalMaps,
                           long failedReduces,
                           long totalReduces,
                           long mapInputBytes,
                           long mapOutputBytes,
                           long hdfsBytesRead,
                           long hdfsBytesWritten,
                           long localBytesRead,
                           long localBytesWritten,
                           long dataLocalMaps,
                           long rackLocalMaps)
Method Detail

getTimePeriod

public String getTimePeriod()
The time period over which this report is generated.


setTimePeriod

public void setTimePeriod(String timePeriod)

getUser

public String getUser()
The user being reported.


setUser

public void setUser(String user)

getGroup

public String getGroup()
The group this user belongs to.


setGroup

public void setGroup(String group)

getCpuSec

public Long getCpuSec()
Amount of CPU time (in seconds) taken up this user's MapReduce jobs.


setCpuSec

public void setCpuSec(long cpuSec)

getMemoryBytes

public Long getMemoryBytes()
The sum of physical memory used (collected as a snapshot) by this user's MapReduce jobs.


setMemoryBytes

public void setMemoryBytes(long memoryBytes)

getJobCount

public Long getJobCount()
Number of jobs.


setJobCount

public void setJobCount(long jobCount)

getTaskCount

public Long getTaskCount()
Number of tasks.


setTaskCount

public void setTaskCount(long taskCount)

getDurationSec

public Long getDurationSec()
Total duration of this user's MapReduce jobs.


setDurationSec

public void setDurationSec(long durationSec)

getFailedMaps

public Long getFailedMaps()
Failed maps of this user's MapReduce jobs. Available since v11.


setFailedMaps

public void setFailedMaps(long failedMaps)

getTotalMaps

public Long getTotalMaps()
Total maps of this user's MapReduce jobs. Available since v11.


setTotalMaps

public void setTotalMaps(long totalMaps)

getFailedReduces

public Long getFailedReduces()
Failed reduces of this user's MapReduce jobs. Available since v11.


setFailedReduces

public void setFailedReduces(long failedReduces)

getTotalReduces

public Long getTotalReduces()
Total reduces of this user's MapReduce jobs. Available since v11.


setTotalReduces

public void setTotalReduces(long totalReduces)

getMapInputBytes

public Long getMapInputBytes()
Map input bytes of this user's MapReduce jobs. Available since v11.


setMapInputBytes

public void setMapInputBytes(long mapInputBytes)

getMapOutputBytes

public Long getMapOutputBytes()
Map output bytes of this user's MapReduce jobs. Available since v11.


setMapOutputBytes

public void setMapOutputBytes(long mapOutputBytes)

getHdfsBytesRead

public Long getHdfsBytesRead()
HDFS bytes read of this user's MapReduce jobs. Available since v11.


setHdfsBytesRead

public void setHdfsBytesRead(long hdfsBytesRead)

getHdfsBytesWritten

public Long getHdfsBytesWritten()
HDFS bytes written of this user's MapReduce jobs. Available since v11.


setHdfsBytesWritten

public void setHdfsBytesWritten(long hdfsBytesWritten)

getLocalBytesRead

public Long getLocalBytesRead()
Local bytes read of this user's MapReduce jobs. Available since v11.


setLocalBytesRead

public void setLocalBytesRead(long localBytesRead)

getLocalBytesWritten

public Long getLocalBytesWritten()
Local bytes written of this user's MapReduce jobs. Available since v11.


setLocalBytesWritten

public void setLocalBytesWritten(long localBytesWritten)

getDataLocalMaps

public Long getDataLocalMaps()
Data local maps of this user's MapReduce jobs. Available since v11.


setDataLocalMaps

public void setDataLocalMaps(long dataLocalMaps)

getRackLocalMaps

public Long getRackLocalMaps()
Rack local maps of this user's MapReduce jobs. Available since v11.


setRackLocalMaps

public void setRackLocalMaps(long rackLocalMaps)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.