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

Negative request num in region load

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment