Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FE6595CF for ; Wed, 1 Feb 2012 14:59:21 +0000 (UTC) Received: (qmail 48679 invoked by uid 500); 1 Feb 2012 14:59:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 48617 invoked by uid 500); 1 Feb 2012 14:59:20 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 48601 invoked by uid 99); 1 Feb 2012 14:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 14:59:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 14:59:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CC656183541 for ; Wed, 1 Feb 2012 14:58:58 +0000 (UTC) Date: Wed, 1 Feb 2012 14:58:58 +0000 (UTC) From: "Zhihong Yu (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <1294984855.2810.1328108338838.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <484265145.81985.1327599158386.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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