hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Warhaftig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15769) Perform validation on cluster key for add_peer
Date Mon, 16 May 2016 00:52:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-15769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Matt Warhaftig updated HBASE-15769:
    Attachment: hbase-15769-v1.patch

Attached patch 'hbase-15769-v1.patch' adds cluster key validation to the cluster key parameter
of the add_peer shell call.  Also, the add_peer shell command help message has been updated
to have accurate samples - HBASE-12867 to support custom replication endpoints removed the
ability to use strings as add_peer parameters.

> Perform validation on cluster key for add_peer
> ----------------------------------------------
>                 Key: HBASE-15769
>                 URL: https://issues.apache.org/jira/browse/HBASE-15769
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Matt Warhaftig
>            Priority: Minor
>         Attachments: hbase-15769-v1.patch
> [~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"...
> {code}
> > add_peer '1', "host1.com,host2.com,host3.com:2181:hbase
> {code}
> 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.

This message was sent by Atlassian JIRA

View raw message