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

Perform validation on cluster key for add_peer

    XMLWordPrintableJSON

Details

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

    Description

      pateljaymin reported the following.

      In hbase cluster, adding a peer for replication, incorrectly defined zookeeper znode does not fail new peer creation. However, replication breaks down.

      For example,
      below string incorrectly defines zookeeper znode as "hbase" instead of "/hbase"...

      > add_peer '1', "host1.com,host2.com,host3.com:2181:hbase
      

      This left replication broken, even after we dropped and added a new correct entry for the peer.

      It wasn't until we bounced the cluster that the issue was fixed.

      Attachments

        1. hbase-15769-v1.patch
          7 kB
          Matt Warhaftig
        2. hbase-15769-v2.patch
          8 kB
          Ted Yu

        Issue Links

          Activity

            People

              mwarhaftig Matt Warhaftig
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: