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

Negative request num in region load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.99.0
    • 0.99.0, 0.96.3, 0.98.3
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: