[
https://issues.apache.org/jira/browse/HBASE-11255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liu Shaohui updated HBASE-11255:
--------------------------------
Affects Version/s: 0.99.0
Status: Patch Available (was: Open)
> Negative request num in region load
> -----------------------------------
>
> Key: HBASE-11255
> URL: https://issues.apache.org/jira/browse/HBASE-11255
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.99.0
> Reporter: Liu Shaohui
> Assignee: Liu Shaohui
> Priority: Minor
> Attachments: HBASE-11255-trunk-v1.diff
>
>
> 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)