hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11255) Negative request num in region load
Date Tue, 27 May 2014 15:21:02 GMT

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

Mime
View raw message