hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12750) getRequestsCount() in ClusterStatus returns total number of request
Date Tue, 23 Dec 2014 21:23:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257560#comment-14257560
] 

Hudson commented on HBASE-12750:
--------------------------------

SUCCESS: Integrated in HBase-0.98 #758 (See [https://builds.apache.org/job/HBase-0.98/758/])
HBASE-12750 getRequestsCount() in ClusterStatus returns total number of request (Weichen Ye)
(tedyu: rev 6dfb2580706c9844883622e38ab19d8f8aadbe5c)
* hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java


> getRequestsCount() in ClusterStatus returns total number of request
> -------------------------------------------------------------------
>
>                 Key: HBASE-12750
>                 URL: https://issues.apache.org/jira/browse/HBASE-12750
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.0, 0.98.6
>            Reporter: Weichen Ye
>            Assignee: Weichen Ye
>             Fix For: 2.0.0, 0.98.10, 1.1.0
>
>         Attachments: HBASE-12750.patch
>
>
> getRequestsCount() is a function in org.apache.hadoop.hbase.ClusterStatus in HBase Client
compoent. The comment says that it is for us to get the number of requests since last report,
but the code inside this function return the number of requests since region server start.
> Here we should change the code 
> count += e.getValue().getTotalNumberOfRequests();
> to 
> count += e.getValue().getNumberOfRequests();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message