hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions
Date Wed, 01 Feb 2012 14:58:58 GMT

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

Zhihong Yu updated HBASE-5283:

    Fix Version/s:     (was: 0.92.1)

Integrated to TRUNK.

Thanks for the patch Mubarak.

Thanks for the review, Stack.
> 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
>            Assignee: Mubarak Seyed
>             Fix For: 0.94.0
>         Attachments: 5283.txt, HBASE-5283.trunk.v1.patch
> 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


View raw message