You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hitesh Shah (Updated) (JIRA)" <ji...@apache.org> on 2012/02/02 23:58:54 UTC
[jira] [Updated] (HBASE-5325) Expose basic information about the
master-status through jmx beans
[ https://issues.apache.org/jira/browse/HBASE-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Shah updated HBASE-5325:
-------------------------------
Attachment: HBASE-5325.wip.patch
Attached is a preliminary patch which adds a new hbasemasterinfo bean. Please let me know your comments/thoughts on whether this is the right approach/direction.
If it looks good, I can add something similar for the region server ( and tests, etc ).
Using a hacked patch to display the /jmx output, this is what the information would look like:
{quote}
{
"name" : "Hadoop:service=HBase,name=HBaseMasterInfo",
"modelerType" : "org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster",
"ClusterId" : "d24914d7-75d3-4dcc-9e6f-0d7770833993",
"ZookeeperQuorumInfo" : "localhost:2181",
"CoprocessorsInfo" : "[]",
"MasterStartTime" : 1328223257723,
"MasterActiveTime" : 1328223257725,
"RegionServers" : "{\"10.10.10.128:57366\":{\"requestsPerSecond\":0,\"startcode\":1328223257711,\"maxHeapMB\":987,\"numberOfOnlineRegions\":2,\"usedHeapMB\":34}}",
"DeadRegionServers" : "[]",
"RegionsInTransition" : "{}"
}
{quote}
> Expose basic information about the master-status through jmx beans
> -------------------------------------------------------------------
>
> Key: HBASE-5325
> URL: https://issues.apache.org/jira/browse/HBASE-5325
> Project: HBase
> Issue Type: Bug
> Reporter: Hitesh Shah
> Priority: Minor
> Attachments: HBASE-5325.wip.patch
>
>
> Similar to the Namenode and Jobtracker, it would be good if the hbase master could expose some information through mbeans.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira