Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.ipc.metrics |
RPC related metrics.
|
org.apache.hadoop.metrics2.lib |
A collection of library classes for implementing metrics sources
|
Modifier and Type | Method and Description |
---|---|
int |
FSNamesystem.getBlockCapacity() |
long |
FSNamesystem.getBlocksTotal()
Get the total number of blocks in the system.
|
long |
FSNamesystem.getCapacityRemaining() |
float |
FSNamesystem.getCapacityRemainingGB() |
long |
FSNamesystem.getCapacityTotal() |
float |
FSNamesystem.getCapacityTotalGB() |
long |
FSNamesystem.getCapacityUsed() |
float |
FSNamesystem.getCapacityUsedGB() |
long |
FSNamesystem.getCapacityUsedNonDFS() |
long |
FSNamesystem.getCorruptReplicaBlocks()
Returns number of blocks with corrupt replicas
|
long |
FSNamesystem.getExcessBlocks() |
int |
FSNamesystem.getExpiredHeartbeats() |
long |
FSNamesystem.getFilesTotal() |
String |
FSNamesystem.getHAState() |
long |
FSNamesystem.getLastCheckpointTime() |
long |
FSNamesystem.getLastWrittenTransactionId() |
long |
FSNamesystem.getMillisSinceLastLoadedEdits() |
long |
FSNamesystem.getMissingBlocksCount() |
int |
FSNamesystem.getNumSnapshots() |
int |
FSNamesystem.getNumSnapshottableDirs() |
int |
FSNamesystem.getNumStaleDataNodes() |
int |
FSNamesystem.getPendingDataNodeMessageCount() |
long |
FSNamesystem.getPendingDeletionBlocks() |
long |
FSNamesystem.getPendingReplicationBlocks() |
long |
FSNamesystem.getPostponedMisreplicatedBlocks() |
long |
FSNamesystem.getScheduledReplicationBlocks() |
long |
FSNamesystem.getTotalFiles() |
int |
FSNamesystem.getTotalLoad()
Total number of connections.
|
long |
FSNamesystem.getTransactionsSinceLastCheckpoint() |
long |
FSNamesystem.getTransactionsSinceLastLogRoll() |
long |
FSNamesystem.getUnderReplicatedBlocks() |
Modifier and Type | Method and Description |
---|---|
int |
RpcMetrics.callQueueLength() |
int |
RpcMetrics.numOpenConnections() |
Modifier and Type | Method and Description |
---|---|
protected MetricsInfo |
MutableMetricsFactory.getInfo(Metric annotation,
Field field) |
protected MetricsInfo |
MutableMetricsFactory.getInfo(Metric annotation,
Method method) |
protected MetricsInfo |
MutableMetricsFactory.getInfo(Metric annotation,
String defaultName) |
protected MutableMetric |
MutableMetricsFactory.newForField(Field field,
Metric annotation)
Override to handle custom mutable metrics for fields
|
protected MutableMetric |
MutableMetricsFactory.newForMethod(Object source,
Method method,
Metric annotation)
Override to handle custom mutable metrics for methods
|
Copyright © 2013 Apache Software Foundation. All rights reserved.