You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "samar (JIRA)" <ji...@apache.org> on 2013/05/28 14:15:20 UTC

[jira] [Commented] (HBASE-3616) Add per region request information to HServerLoad

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

samar commented on HBASE-3616:
------------------------------

[~yuzhihong@gmail.com]

I alread see the request counts being stored in regionload

buildServerLoad{
 serverLoad.addRegionLoads(createRegionLoad(region));
}

which is adding the 
createRegionLoad{

..... does ...
.setReadRequestsCount((int) r.readRequestsCount.get())
      .setWriteRequestsCount((int) r.writeRequestsCount.get())


}

Are we planning to do anything different
                
> Add per region request information to HServerLoad
> -------------------------------------------------
>
>                 Key: HBASE-3616
>                 URL: https://issues.apache.org/jira/browse/HBASE-3616
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Ted Yu
>
> HBASE-3507 added per region request count.
> We should utilize this information so that HServerLoad can provide moving average of request counts to load balancer.
> We can update this method in HRegionServer:
> {code}
>   private HServerLoad buildServerLoad() {
> {code}
> The above method can aggregate request counts from HRegions and store it in HServerLoad.RegionLoad

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira