hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tapper, Gunnar" <gunnar.tap...@hp.com>
Subject RE: jmx?description=true
Date Fri, 01 May 2015 15:08:25 GMT
2015-05-01 15:00:51,688 INFO  [main] util.VersionInfo: HBase 0.98.0.2.1.5.0-695-hadoop2 (HortonWorks)
15/05/01 15:03:31 INFO util.VersionInfo: HBase 0.98.6-cdh5.3.2 (Cloudera)

I haven't tried on our MapR systems yet.

Sample:

[seapilot@host01 ~]$ curl http://host05.cluster.com:60010/jmx?description=true  | more
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{
  "beans" : [ {
    "name" : "java.lang:type=Memory",
    "modelerType" : "sun.management.MemoryImpl",
    "HeapMemoryUsage" : {
      "committed" : 832241664,
      "init" : 860880896,
      "max" : 833290240,
      "used" : 146761864
    },
    "NonHeapMemoryUsage" : {
      "committed" : 81756160,
      "init" : 24313856,
      "max" : 136314880,
      "used" : 51497664
    },
    "ObjectPendingFinalizationCount" : 0,
    "Verbose" : false,
    "ObjectName" : "java.lang:type=Memory"
  }, {
    "name" : "Hadoop:service=HBase,name=MetricsSystem,sub=Control",
    "modelerType" : "org.apache.hadoop.metrics2.impl.MetricsSystemImpl"
  }, {
    "name" : "Hadoop:service=HBase,name=Master,sub=AssignmentManger",
    "modelerType" : "Master,sub=AssignmentManger",
    "tag.Context" : "master",
    "tag.Hostname" : "host05.cluster.com",
    "ritOldestAge" : 0,
    "ritCount" : 0,
    "BulkAssign_num_ops" : 2517,
    "BulkAssign_min" : 0,
    "BulkAssign_max" : 5862,
    "BulkAssign_mean" : 27.341676599125943,
    "BulkAssign_median" : 0.0,
    "BulkAssign_75th_percentile" : 52.0,
    "BulkAssign_95th_percentile" : 93.5,
    "BulkAssign_99th_percentile" : 133.90000000000032,
    "ritCountOverThreshold" : 0,
    "Assign_num_ops" : 1,
    "Assign_min" : 109,
    "Assign_max" : 109,
    "Assign_mean" : 109.0,
    "Assign_median" : 109.0,
    "Assign_75th_percentile" : 109.0,
    "Assign_95th_percentile" : 109.0,
    "Assign_99th_percentile" : 109.0
  }, {
    "name" : "Hadoop:service=HBase,name=UgiMetrics",
    "modelerType" : "UgiMetrics",
    "tag.Context" : "ugi",
    "tag.Hostname" : "host05.cluster.com",
    "LoginSuccessNumOps" : 0,
    "LoginSuccessAvgTime" : 0.0,
    "LoginFailureNumOps" : 0,
    "LoginFailureAvgTime" : 0.0,
    "GetGroupsNumOps" : 0,
    "GetGroupsAvgTime" : 0.0
  }

Thanks,

Gunnar



-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com] 
Sent: Friday, May 01, 2015 8:37 AM
To: user@hbase.apache.org
Subject: Re: jmx?description=true

Which release of HBase do you use ?

I tried on hbase 1.1.0 RC and saw descriptions when ?description=true is appended to URL.

Here is top of region server JMX :

{
  "beans" : [ {
    "name" : "java.lang:type=Memory",
    "description" : "Information on the management interface of the MBean",
    "modelerType" : "sun.management.MemoryImpl",
    "ObjectPendingFinalizationCount" : 0,
    "NonHeapMemoryUsage" : {
      "committed" : 106651648,
      "init" : 24313856,
      "max" : 224395264,
      "used" : 66747672
    },
    "Verbose" : true,
    "HeapMemoryUsage" : {
      "committed" : 2104754176,
      "init" : 2147483648,
      "max" : 2104754176,
      "used" : 395104928
    },
    "ObjectName" : "java.lang:type=Memory"
  }, {
    "name" : "Hadoop:service=HBase,name=RegionServer,sub=IPC",
    "description" : "Metrics about HBase Server IPC",
    "modelerType" : "RegionServer,sub=IPC",
    "tag.Context" : {
      "description" : "Metrics context",
      "value" : "regionserver"
    },
    "tag.Hostname" : {
      "description" : "Local hostname",
      "value" : "devdeploy-os-amb-r6-uns-1430336073-4"
    }

Here is top of master JMX:

{
  "beans" : [ {
    "name" : "java.lang:type=Memory",
    "description" : "Information on the management interface of the MBean",
    "modelerType" : "sun.management.MemoryImpl",
    "Verbose" : true,
    "ObjectPendingFinalizationCount" : 0,
    "NonHeapMemoryUsage" : {
      "committed" : 107048960,
      "init" : 24313856,
      "max" : 224395264,
      "used" : 66834944
    },
    "HeapMemoryUsage" : {
      "committed" : 252772352,
      "init" : 261353600,
      "max" : 2130051072,
      "used" : 52166192
    },
    "ObjectName" : "java.lang:type=Memory"
  }, {
    "name" : "Hadoop:service=HBase,name=MetricsSystem,sub=Control",
    "description" : "Information on the management interface of the MBean",
    "modelerType" : "org.apache.hadoop.metrics2.impl.MetricsSystemImpl"
  }, {
    "name" : "Hadoop:service=HBase,name=Master,sub=AssignmentManger",
    "description" : "Metrics about HBase master assingment manager.",
    "modelerType" : "Master,sub=AssignmentManger",
    "tag.Context" : {
      "description" : "Metrics context",
      "value" : "master"
    },

On Thu, Apr 30, 2015 at 3:19 PM, Tapper, Gunnar <gunnar.tapper@hp.com>
wrote:

> Hi,
>
> The documentation says:
>
> “Click the Metrics Dump link near the top. The metrics for the region 
> server are presented as a dump of the JMX bean in JSON format. This 
> will dump out all metrics names and their values. To include metrics 
> descriptions in the listing — this can be useful when you are 
> exploring what is available — add a query string of ?description=true 
> so your URL becomes 
> http://REGIONSERVER_HOSTNAME:60030/jmx?description=true<
> http://regionserver_hostname:60030/jmx?description=true>. Not all 
> beans and attributes have descriptions.”
>
> I can never get this to work for either the Master or RegionServers. 
> No descriptions are provided.
>
> Could someone provide an example for BOTH the Master and a 
> RegionServer with descriptions? I’d like to know what the different counters do.
>
> Thank you,
>
> Gunnar
>
> Download a free version of HPDSM, a unified big-data administration 
> tool for Vertica and Hadoop at: HP DSM 
> Download<https://vertica.hpwsportal.com/
> >
>
> “People don’t know what they want until you show it to them… Our task 
> is to read things that are not yet on the page.” — Steve Jobs
>
>
>
>
Mime
View raw message