hello!
I try to monitor memory of my regionservers. I have HBase 0.98 on CDH 5.3.1.
I can see inconsistency between HBase metrics (here is metrics dump
from HBase UI):
"name" : "Hadoop:service=HBase,name=JvmMetrics",
"modelerType" : "JvmMetrics",
"tag.Context" : "jvm",
"tag.ProcessName" : "IPC",
"tag.SessionId" : "",
"tag.Hostname" : "sqhadoop04.gazeta.pl",
"MemNonHeapUsedM" : 93.26676,
"MemNonHeapCommittedM" : 94.89844,
"MemNonHeapMaxM" : -9.536743E-7,
"MemHeapUsedM" : 8513.122,
"MemHeapCommittedM" : 20330.25,
"MemHeapMaxM" : 20330.25,
"MemMaxM" : 20330.25,
and system "top" monitoring (all of my hbase processes on the regionserver):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19700 hbase 20 0 22.3g 16g 23m S 1.3 8.7 479:47.53 java
19874 hbase 20 0 107m 2404 556 S 0.7 0.0 9:16.13 hbase.sh
19873 hbase 20 0 105m 908 556 S 0.0 0.0 0:00.00 hbase.sh
As we can see there is 16GB according to "top" and ~8.5GB according to
HBase. Why these values are different?
Kindly regards
Wojciech Indyk