[ 
https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhihong Yu updated HBASE-5283:
------------------------------

    Affects Version/s: 0.92.0
        Fix Version/s: 0.92.1
                       0.94.0
    
> Request counters may become negative for heavily loaded regions
> ---------------------------------------------------------------
>
>                 Key: HBASE-5283
>                 URL: https://issues.apache.org/jira/browse/HBASE-5283
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Zhihong Yu
>             Fix For: 0.94.0, 0.92.1
>
>
> Requests counter showing negative count, example under 'Requests' column: 
> -645470239
> {code}
> Name  Region Server   Start Key       End Key Requests
> usertable,user2037516127892189021,1326756873774.16833e4566d1daef109b8fdcd1f4b5a6.
>      xxx.com:60030   user2037516127892189021         user2296868939942738705  
>        -645470239
> {code}
> RegionLoad.readRequestsCount and RegionLoad.writeRequestsCount are of int 
> type. Our Ops has been running lots of heavy load operation. 
> RegionLoad.getRequestsCount() overflows int.MAX_VALUE. It is set to D986E7E1. 
> In table.jsp, RegionLoad.getRequestsCount() is assigned to long type. 
> D986E7E1 is converted to long FFFFFFFFD986E7E1 which is -645470239 in decimal.
> Suggested fix is to make readRequestsCount and writeRequestsCount long type. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to