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

Switch back to ZKConnectionRegistry by default at least in test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Client, rpc, test
    • Labels:
      None

      Description

      For now, MasterRegistry can not deal with master restart, as it can not load the new master address automatically.

      I see there is a invalidateConnection method in HBaseTestingUtilities but it needs a very big refactoring to make all the UTs work like this.

      So here I suggest we switch back to ZKConnectionRegistry by default, and open a new feature branch to finish the TODOs and the refactoring on UTs.

      As now it is already a big problem for me as I want to merge a feature branch back to master but the state of UTs are a mess.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: