org.apache.hadoop.chukwa.rest.resource
Class ClientTrace

java.lang.Object
  extended by org.apache.hadoop.chukwa.rest.resource.ClientTrace

public class ClientTrace
extends Object

Client Trace REST API for parsing client trace log file and convert data into consumable format for web browser and web services.


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
ClientTrace()
           
 
Method Summary
 List<ClientTraceBean> getTrace()
          Get a list of the most recent client trace activities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

ClientTrace

public ClientTrace()
Method Detail

getTrace

public List<ClientTraceBean> getTrace()
Get a list of the most recent client trace activities. The extracted elements are: date - Timestamp of the activity happened. action - Operation type: HDFS_READ, HDFS_WRITE, or MAPRED_SHUFFLE. src - Source IP address dest - Destination IP address size - Size of the data payload.



Copyright © ${year} The Apache Software Foundation