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

Perform validation on cluster key for add_peer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 0.98.20, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Jaymin Patel 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-v2.patch
          8 kB
          Ted Yu
        2. hbase-15769-v1.patch
          7 kB
          Matt Warhaftig

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: