HBase
  1. HBase
  2. HBASE-2883

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 0.20.5, 0.89.20100621
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        stack added a comment -

        Moving out minor issue.

        Show
        stack added a comment - Moving out minor issue.
        Hide
        Jean-Daniel Cryans added a comment -

        Old issue, let's open a new one if someone still sees this as a problem.

        Show
        Jean-Daniel Cryans added a comment - Old issue, let's open a new one if someone still sees this as a problem.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jean-Daniel Cryans
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development