hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladislav Pernin <vladislav.per...@gmail.com>
Subject Difference in region server and region metrics
Date Sun, 10 Jul 2016 09:55:50 GMT
Hi all,

Simple question about HBase metrics.

I observe differences for a put only workload between :
- region server metrics
(Hadoop:service=HBase,name=RegionServer,sub=Server"), for example
- region metrics (Hadoop:service=HBase,name=RegionServer,sub=Regions),
for example namespace_default_table_MYTABLE_region_MYREGION_metric_mutateCount

I can have a ratio of 1/1000, region server metrics being the biggest numbers.

Having a quick look at the code, it seems that the regions metrics
part is only incremented per batch operation, to put it another way,
not increment by the number of indivual put that are batched together.

I made a quick experiment and I can get the same metrics by flushing
commit at every put.

HBase version is 0.98.4.

What do you think, is this intended ?


View raw message