hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bi,hongyu—mike <boyl...@gmail.com>
Subject OperationMetrics in RegionServerDynamicStatistics No Data(0.95.15)
Date Wed, 11 Jun 2014 16:15:38 GMT
Hi ,
I curl the
http://regionserverIP:60030/jmx?qry=hadoop:service=RegionServer,name=RegionServerDynamicStatistics

and filter <tablename> I found that there wasn't operation
metrics(get/multiput/etc.) but only readrequestcount/writerequestcount:

regionserver:tbl.<tablename>.region.3e0f92a86d200c8d52dfb6c39906454b.readrequestcount:13581
regionserver:tbl.<tablename>.cf.cf.memstoreSizeMB:0
regionserver:tbl.<tablename>.cf.cf.storeFileSizeMB:11040
regionserver:tbl.<tablename>.cf.cf.staticIndexSizeKB:8901
regionserver:tbl.<tablename>.region.9c43cfc1bc4d81ea5b6d11d738f676f4.readrequestcount:761
regionserver:tbl.<tablename>.cf.cf.staticBloomSizeKB:0
regionserver:tbl.<tablename>.cf.cf.bt.Index.blockCacheSize:9158280
regionserver:tbl.<tablename>.cf.cf.storeFileCount:2
regionserver:tbl.<tablename>.cf.cf.blockCacheSize:336216976
regionserver:tbl.<tablename>.cf.cf.storeFileIndexSizeMB:0
regionserver:tbl.<tablename>.cf.cf.bt.Data.blockCacheSize:327058696

BUT From source code i see: many op metrics, any help will be appreciate :)

 * This class provides a simplified interface to expose time varying metrics

 * about GET/DELETE/PUT/ICV operations on a region and on Column Families.
All

 * metrics are stored in {@link RegionMetricsStorage} and exposed to hadoop

 * metrics through {@link RegionServerDynamicMetrics}.

 */

public class OperationMetrics {


  private static final String DELETE_KEY = "delete_";

  private static final String PUT_KEY = "put_";

  private static final String GET_KEY = "get_";

  private static final String ICV_KEY = "incrementColumnValue_";

  private static final String INCREMENT_KEY = "increment_";

  private static final String MULTIPUT_KEY = "multiput_";

  private static final String MULTIDELETE_KEY = "multidelete_";

  private static final String APPEND_KEY = "append_";

  private static final String READREQUESTCOUNT_KEY = "readrequestcount";

  private static final String WRITEREQUESTCOUNT_KEY = "writerequestcount";

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message