Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11255

Negative request num in region load

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.99.0
    • Fix Version/s: 0.99.0, 0.96.3, 0.98.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We found that the request number of region is negative in long-running hbase cluster.
      The is because of improper cast in HRegionServer#createRegionLoad

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

      The patch is simple and just removes the cast.

        Attachments

        1. HBASE-11255-trunk-v1.diff
          1.0 kB
          Shaohui Liu

          Activity

            People

            • Assignee:
              liushaohui Shaohui Liu
              Reporter:
              liushaohui Shaohui Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: