[ https://issues.apache.org/jira/browse/HBASE-24165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang reopened HBASE-24165: ------------------------------------ Reopen as this introduce a findbugs warning. |{color:#000000}Result of integer multiplication cast to long in new org.apache.hadoop.hbase.io.ByteBufferPool(int, int, boolean) At ByteBufferPool.java:to long in new org.apache.hadoop.hbase.io.ByteBufferPool(int, int, boolean) At ByteBufferPool.java:[line 84]{color}| > maxPoolSize is logged incorrectly in ByteBufferPool > --------------------------------------------------- > > Key: HBASE-24165 > URL: https://issues.apache.org/jira/browse/HBASE-24165 > Project: HBase > Issue Type: Bug > Affects Versions: 2.2.4 > Reporter: Pankaj Kumar > Assignee: Pankaj Kumar > Priority: Minor > Fix For: 2.2.5 > > > In ByteBufferPool _maxPoolSize_ is converted into byte format, > https://github.com/apache/hbase/blob/a521a80c4b9a8b0749c368d1ff66fea2ed2d77a2/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBufferPool.java#L85 > > Currently maxPoolSize is logged as below, > 2020-04-10 14:20:56,000 INFO [Time-limited test] io.ByteBufferPool(83): > Created with bufferSize=64 KB and maxPoolSize=320 B -- This message was sent by Atlassian Jira (v8.3.4#803005)