You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (Created) (JIRA)" <ji...@apache.org> on 2012/01/26 18:32:38 UTC

[jira] [Created] (HBASE-5283) Request counters may become negative for heavily loaded regions

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
            Reporter: Zhihong Yu


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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Hadoop Flags: Reviewed
          Status: Patch Available  (was: Open)
    
> 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, 0.92.1
>
>         Attachments: 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Mubarak Seyed (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196634#comment-13196634 ] 

Mubarak Seyed commented on HBASE-5283:
--------------------------------------

Waiting for corporate approval to contribute this patch. Thanks.
                
> 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198089#comment-13198089 ] 

Hudson commented on HBASE-5283:
-------------------------------

Integrated in HBase-TRUNK #2650 (See [https://builds.apache.org/job/HBase-TRUNK/2650/])
    HBASE-5283 Request counters may become negative for heavily loaded regions (Mubarak)

tedyu : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HServerLoad.java

                
> 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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197608#comment-13197608 ] 

Hadoop QA commented on HBASE-5283:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12512719/5283.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated -140 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 157 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.replication.TestReplicationPeer
                  org.apache.hadoop.hbase.io.hfile.TestHFileBlock
                  org.apache.hadoop.hbase.mapreduce.TestImportTsv
                  org.apache.hadoop.hbase.mapred.TestTableMapReduce
                  org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/885//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/885//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/885//console

This message is automatically generated.
                
> 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, 0.92.1
>
>         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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-5283:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

This was committed, marking as fixed.
                
> 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197400#comment-13197400 ] 

stack commented on HBASE-5283:
------------------------------

+1 on patch.
                
> 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, 0.92.1
>
>         Attachments: 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

        

[jira] [Assigned] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Mubarak Seyed (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mubarak Seyed reassigned HBASE-5283:
------------------------------------

    Assignee: Mubarak Seyed
    
> 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, 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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 5283.txt
    
> 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, 0.92.1
>
>         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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Mubarak Seyed (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mubarak Seyed updated HBASE-5283:
---------------------------------

    Attachment: HBASE-5283.trunk.v1.patch

The attached file is a patch.
                
> 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, 0.92.1
>
>         Attachments: 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197398#comment-13197398 ] 

stack commented on HBASE-5283:
------------------------------

+1 on patch.
                
> 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, 0.92.1
>
>         Attachments: 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

        

[jira] [Updated] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (HBASE-5283) Request counters may become negative for heavily loaded regions

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197437#comment-13197437 ] 

Hadoop QA commented on HBASE-5283:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12512661/HBASE-5283.trunk.v1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/883//console

This message is automatically generated.
                
> 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, 0.92.1
>
>         Attachments: 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