virajjasani commented on code in PR #5344:
URL: https://github.com/apache/hbase/pull/5344#discussion_r1286455519
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:
##########
@@ -1015,9 +1015,9 @@ public void run() {
public void logStats() {
// Log size
- long totalSize = heapSize();
- long freeSize = maxSize - totalSize;
- LruBlockCache.LOG.info("totalSize=" + StringUtils.byteDesc(totalSize) + ",
" + "freeSize="
+ long usedSize = heapSize();
+ long freeSize = maxSize - usedSize;
+ LruBlockCache.LOG.info("usedSize=" + StringUtils.byteDesc(usedSize) + ", "
+ "freeSize="
Review Comment:
how about we also add total size?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]