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
writeRequestCount
- 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 ?

--
Vladislav

Reply via email to