You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/05/27 17:21:02 UTC

[jira] [Commented] (HBASE-11255) Negative request num in region load

    [ https://issues.apache.org/jira/browse/HBASE-11255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009774#comment-14009774 ] 

stack commented on HBASE-11255:
-------------------------------

+1

> 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)