|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.metrics.ScanMetrics
public class ScanMetrics
Provides client-side metrics related to scan operations The data can be passed to mapreduce framework or other systems. Currently metrics framework won't be able to support the scenario where multiple scan instances run on the same machine trying to update the same metric. We use metrics objects in the class, so that it can be easily switched to metrics framework later when it support this scenario. Some of these metrics are general for any client operation such as put However, there is no need for this. So they are defined under scan operation for now.
Field Summary | |
---|---|
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfBytesInRemoteResults
number of bytes in Result objects from remote region servers |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfBytesInResults
number of bytes in Result objects from region servers |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfNSRE
number of NotServingRegionException caught |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfRegions
number of regions |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfRemoteRPCcalls
number of remote RPC calls |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfRemoteRPCRetries
number of remote RPC retries |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfRPCcalls
number of RPC calls |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
countOfRPCRetries
number of RPC retries |
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong |
sumOfMillisSecBetweenNexts
sum of milliseconds between sequential next calls |
Constructor Summary | |
---|---|
ScanMetrics()
constructor |
Method Summary | |
---|---|
org.apache.hadoop.metrics.util.MetricsTimeVaryingLong[] |
getMetricsTimeVaryingLongArray()
|
void |
readFields(DataInput in)
|
void |
write(DataOutput out)
serialize all the MetricsTimeVaryingLong |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfRPCcalls
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfRemoteRPCcalls
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong sumOfMillisSecBetweenNexts
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfNSRE
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfBytesInResults
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfBytesInRemoteResults
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfRegions
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfRPCRetries
public final org.apache.hadoop.metrics.util.MetricsTimeVaryingLong countOfRemoteRPCRetries
Constructor Detail |
---|
public ScanMetrics()
Method Detail |
---|
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public org.apache.hadoop.metrics.util.MetricsTimeVaryingLong[] getMetricsTimeVaryingLongArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |