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

Canary in regionserver mode might not enumerate all regionservers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 1.3.0, 1.2.2, 0.98.20, 2.0.0
    • None
    • Reviewed

    Description

      When running in regionserver mode the Canary is expected to probe for service health one time per regionserver during a probe interval.

      Each time the canary chore fires, we create a RegionServerMonitor, which uses filterRegionServerByName (via getAllRegionServerByName) to enumerate over all table descriptors, find the locations for each table, then assemble the list of regionservers to probe from this result. The list may not contain all live regionservers, if there is a regionserver up but for some reason not serving any regions. To ensure we have the complete list of live regionservers I think it would be better to use Admin#getClusterStatus and enumerate the live server list returned in the result.

      Attachments

        1. HBASE-15617.patch
          12 kB
          Vincent Poon
        2. HBASE-15617-v1.patch
          8 kB
          Vincent Poon

        Activity

          People

            sanjeevln Sanjeev Lakshmanan
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: