[ https://issues.apache.org/jira/browse/HBASE-11255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010620#comment-14010620 ]
Hudson commented on HBASE-11255: -------------------------------- FAILURE: Integrated in hbase-0.96-hadoop2 #278 (See [https://builds.apache.org/job/hbase-0.96-hadoop2/278/]) HBASE-11255 Negative request num in region load (Liu Shaohui) (stack: rev bba67cb91c3cb03c04f3f6c5b442af394a0ef3b6) * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java > 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 > Fix For: 0.99.0, 0.96.3, 0.98.4 > > 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)