-
Nested Class Summary
Nested Classes
-
Method Summary
void
Metrics collected at client level for a user(needed for reporting through clusterStatus and
hbtop currently)
void
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
Create a instance of ClientMetrics if not present otherwise return the previous one
void
void
void
void
void
void
void
void
void
-
Method Details
-
-
-
-
-
-
updateGet
void updateGet(long time,
long blockBytesScanned)
-
-
-
-
updateScan
void updateScan(long time,
long blockBytesScanned)
-
-
getMetrics
void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
-
getClientMetrics
Metrics collected at client level for a user(needed for reporting through clusterStatus and
hbtop currently)
- Returns:
- metrics per hostname
-
getOrCreateMetricsClient
Create a instance of ClientMetrics if not present otherwise return the previous one
- Parameters:
hostName
- hostname of the client
- Returns:
- Instance of ClientMetrics