Liu Shaohui created HBASE-11255:
-----------------------------------
Summary: Negative request num in region load
Key: HBASE-11255
URL: https://issues.apache.org/jira/browse/HBASE-11255
Project: HBase
Issue Type: Bug
Reporter: Liu Shaohui
Assignee: Liu Shaohui
Priority: Minor
We found that the request number of region is negative in long-running hbase
cluster.
The is because of improper cast in HRegionServer#createRegionLoad
{code}
... .setReadRequestsCount((int)r.readRequestsCount.get())
.setWriteRequestsCount((int) r.writeRequestsCount.get())
{code}
The patch is simple and just removes the cast.
--
This message was sent by Atlassian JIRA
(v6.2#6252)