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

RegionMover#stripMaster in RegionMover needs to handle HBASE-18511 gracefully

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Probably this is the first of few issues found during some tests with RegionMover. After HBASE-13014 we ship the new RegionMover tool but it currently assumes that master will be hosting regions so it attempts to remove master from the list and that causes an issue similar to this:

      17/12/12 11:01:06 WARN util.RegionMover: Could not remove master from list of RS
      java.lang.Exception: Server host1.example.com:22001 is not in list of online servers(Offline/Incorrect)
      	at org.apache.hadoop.hbase.util.RegionMover.stripServer(RegionMover.java:818)
      	at org.apache.hadoop.hbase.util.RegionMover.stripMaster(RegionMover.java:757)
      	at org.apache.hadoop.hbase.util.RegionMover.access$1800(RegionMover.java:78)
      	at org.apache.hadoop.hbase.util.RegionMover$Unload.call(RegionMover.java:339)
      	at org.apache.hadoop.hbase.util.RegionMover$Unload.call(RegionMover.java:314)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      Basicaly

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              esteban Esteban Gutierrez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: