Package org.apache.hadoop.hbase.master
Class MetricsMasterWrapperImpl
java.lang.Object
org.apache.hadoop.hbase.master.MetricsMasterWrapperImpl
- All Implemented Interfaces:
- MetricsMasterWrapper
Impl for exposing HMaster Information through JMX
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionconvertSnapshot(SpaceQuotaSnapshot snapshot) longGet the hbase master active timedoubleGet Average LoadGet the Cluster IDString[]Get the co-processorsGet the dead region serversGet the draining region serversbooleanWhether this master is the active masterlongGet the time in Millis when the master finished initializing/becoming the active masterlongGet the number of region merge plans executed.Gets the space usage and limit for each namespace.intGet the number of dead region serversintGet the number of draining region serversintGet the number of live region serverslongGet the number of master WAL files.longGet the size of old WALs directory in bytes.Get the online and offline region countsGet the live region serversGet ServerNamelongGet the number of region split plans executed.longGet hbase master start timeGets the space usage and limit for each table.Get the ZooKeeper Quorum InfobooleanReturns if the master is currently running and is not attempting to shutdown.
- 
Field Details- 
master
 
- 
- 
Constructor Details- 
MetricsMasterWrapperImpl
 
- 
- 
Method Details- 
getAverageLoadDescription copied from interface:MetricsMasterWrapperGet Average Load- Specified by:
- getAverageLoadin interface- MetricsMasterWrapper
- Returns:
- Average Load
 
- 
getSplitPlanCountDescription copied from interface:MetricsMasterWrapperGet the number of region split plans executed.- Specified by:
- getSplitPlanCountin interface- MetricsMasterWrapper
 
- 
getMergePlanCountDescription copied from interface:MetricsMasterWrapperGet the number of region merge plans executed.- Specified by:
- getMergePlanCountin interface- MetricsMasterWrapper
 
- 
getMasterInitializationTimeDescription copied from interface:MetricsMasterWrapperGet the time in Millis when the master finished initializing/becoming the active master- Specified by:
- getMasterInitializationTimein interface- MetricsMasterWrapper
 
- 
getClusterIdDescription copied from interface:MetricsMasterWrapperGet the Cluster ID- Specified by:
- getClusterIdin interface- MetricsMasterWrapper
- Returns:
- Cluster ID
 
- 
getZookeeperQuorumDescription copied from interface:MetricsMasterWrapperGet the ZooKeeper Quorum Info- Specified by:
- getZookeeperQuorumin interface- MetricsMasterWrapper
- Returns:
- ZooKeeper Quorum Info
 
- 
getCoprocessorsDescription copied from interface:MetricsMasterWrapperGet the co-processors- Specified by:
- getCoprocessorsin interface- MetricsMasterWrapper
- Returns:
- Co-processors
 
- 
getStartTimeDescription copied from interface:MetricsMasterWrapperGet hbase master start time- Specified by:
- getStartTimein interface- MetricsMasterWrapper
- Returns:
- Start time of master in milliseconds
 
- 
getActiveTimeDescription copied from interface:MetricsMasterWrapperGet the hbase master active time- Specified by:
- getActiveTimein interface- MetricsMasterWrapper
- Returns:
- Time in milliseconds when master became active
 
- 
getRegionServersDescription copied from interface:MetricsMasterWrapperGet the live region servers- Specified by:
- getRegionServersin interface- MetricsMasterWrapper
- Returns:
- Live region servers
 
- 
getNumRegionServersDescription copied from interface:MetricsMasterWrapperGet the number of live region servers- Specified by:
- getNumRegionServersin interface- MetricsMasterWrapper
- Returns:
- number of Live region servers
 
- 
getDeadRegionServersDescription copied from interface:MetricsMasterWrapperGet the dead region servers- Specified by:
- getDeadRegionServersin interface- MetricsMasterWrapper
- Returns:
- Dead region Servers
 
- 
getNumDeadRegionServersDescription copied from interface:MetricsMasterWrapperGet the number of dead region servers- Specified by:
- getNumDeadRegionServersin interface- MetricsMasterWrapper
- Returns:
- number of Dead region Servers
 
- 
isRunningDescription copied from interface:MetricsMasterWrapperReturns if the master is currently running and is not attempting to shutdown.- Specified by:
- isRunningin interface- MetricsMasterWrapper
 
- 
getDrainingRegionServersDescription copied from interface:MetricsMasterWrapperGet the draining region servers- Specified by:
- getDrainingRegionServersin interface- MetricsMasterWrapper
- Returns:
- Draining region server
 
- 
getNumDrainingRegionServersDescription copied from interface:MetricsMasterWrapperGet the number of draining region servers- Specified by:
- getNumDrainingRegionServersin interface- MetricsMasterWrapper
- Returns:
- number of draining region servers
 
- 
getServerNameDescription copied from interface:MetricsMasterWrapperGet ServerName- Specified by:
- getServerNamein interface- MetricsMasterWrapper
 
- 
getIsActiveMasterDescription copied from interface:MetricsMasterWrapperWhether this master is the active master- Specified by:
- getIsActiveMasterin interface- MetricsMasterWrapper
- Returns:
- True if this is the active master
 
- 
getNumWALFilesDescription copied from interface:MetricsMasterWrapperGet the number of master WAL files.- Specified by:
- getNumWALFilesin interface- MetricsMasterWrapper
 
- 
getTableSpaceUtilizationDescription copied from interface:MetricsMasterWrapperGets the space usage and limit for each table.- Specified by:
- getTableSpaceUtilizationin interface- MetricsMasterWrapper
 
- 
getNamespaceSpaceUtilizationDescription copied from interface:MetricsMasterWrapperGets the space usage and limit for each namespace.- Specified by:
- getNamespaceSpaceUtilizationin interface- MetricsMasterWrapper
 
- 
convertSnapshot
- 
getRegionCountsDescription copied from interface:MetricsMasterWrapperGet the online and offline region counts- Specified by:
- getRegionCountsin interface- MetricsMasterWrapper
- Returns:
- pair of count for online regions and offline regions
 
- 
getOldWALsDirSizeDescription copied from interface:MetricsMasterWrapperGet the size of old WALs directory in bytes.- Specified by:
- getOldWALsDirSizein interface- MetricsMasterWrapper
 
 
-