hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "origin" <fulin...@qq.com>
Subject how to calculate requestPerSecond from metrics
Date Thu, 02 Jan 2014 16:18:18 GMT
Hey guys,
    I want to calculate requestPerSecond from HMaster metrics by clusterRequests,but I found
the value was to large,and this was different from requestPerSecond from webpage.


the metrics string like this:
---------------------------------------------------------------------------------------------------------------
1388375742144 master.Server: Context=master, zookeeperQuorum=hadoop-dn-5:2181,hadoop-dn-4:2181,hadoop-dn-6:2181,
serverName=hadoop-nn-1,60000,1387878342166, clusterId=eec6d632-7509-47ea-99e0-c90e59d3ec99,
isActiveMaster=true, Context=master, Hostname=hadoop-nn-1, masterActiveTime=1387878343667,
masterStartTime=1387878343156, averageLoad=6.666666666666667, numRegionServers=6, numDeadRegionServers=0,
clusterRequests=63383816042302
1388375802144 master.Server: Context=master, zookeeperQuorum=hadoop-dn-5:2181,hadoop-dn-4:2181,hadoop-dn-6:2181,
serverName=hadoop-nn-1,60000,1387878342166, clusterId=eec6d632-7509-47ea-99e0-c90e59d3ec99,
isActiveMaster=true, Context=master, Hostname=hadoop-nn-1, masterActiveTime=1387878343667,
masterStartTime=1387878343156, averageLoad=6.666666666666667, numRegionServers=6, numDeadRegionServers=0,
clusterRequests=63397197990736



---------------------------------------------------------------------------------------------------------------
my hadoop-metrics2-hbase.properties:
-------------------------------------------------------------------------------------------
*.period=60
hbase.sink.file.class=org.hadoop.metrics2.sink.FileSink
hbase.fileName=/data1/hdfs/hbase/logs/metrics_hbase.log

-------------------------------------------------------------------------------------------
please tell me how to calculate requestPerSecond from clusterRequests correctly.
tks a lot.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message