Req/sec in web UIs are way off when regions are moving
------------------------------------------------------

                 Key: HBASE-2883
                 URL: https://issues.apache.org/jira/browse/HBASE-2883
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.89.20100621, 0.20.5
            Reporter: Jean-Daniel Cryans
             Fix For: 0.90.0


Now that the region servers can heartbeat back to the master as soon as they 
have a message (region open, close, etc), they also recompute their metrics. I 
see two problems:

 - The metrics are recomputed way too often, and by the looks of that code it 
seems quite intense.
 - Our UIs are expecting that the value returned by the metrics computation is 
per second, but when regions are moving a RS can ping back a few times within a 
single second. This gives a very wrong view of the load.

I think it's time we move metrics computation in it's own separate thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to