HBASE-11629 Operational concerns for Replication should call out ZooKeeper (Misty Stanley Jones)

This commit is contained in:
stack 2014-08-07 08:24:32 -07:00
parent 12d9697d93
commit 3fdc6a2b72
2 changed files with 36 additions and 9 deletions

View File

@ -1571,10 +1571,29 @@ public class MyHBaseIntegrationTest {
</para>
<section xml:id="design.invariants.zk.data">
<title>No permanent state in ZooKeeper</title>
<para>ZooKeeper state should transient (treat it like memory). If deleted, hbase
should be able to recover and essentially be in the same state<footnote><para>There are currently
a few exceptions that we need to fix around whether a table is enabled or disabled</para></footnote>.
</para>
<para>ZooKeeper state should transient (treat it like memory). If ZooKeeper state is
deleted, hbase should be able to recover and essentially be in the same
state.</para>
<itemizedlist>
<title>Exceptions</title>
<listitem>
<para>There are currently a few exceptions that we need to fix around
whether a table is enabled or disabled.</para>
</listitem>
<listitem>
<para>Replication data is currently stored only in ZooKeeper. Deleting
ZooKeeper data related to replication may cause replication to be
disabled. Do not delete the replication tree,
<filename>/hbase/replication/</filename>.</para>
<warning>
<para>Replication may be disrupted and data loss may occur if you delete
the replication tree (<filename>/hbase/replication/</filename>) from
ZooKeeper. Follow progress on this issue at <link
xlink:href="https://issues.apache.org/jira/browse/HBASE-10295"
>HBASE-10295</link>.</para>
</warning>
</listitem>
</itemizedlist>
</section>
</section> <!-- design.invariants -->

View File

@ -1264,6 +1264,14 @@ false
<para>HBase replication maintains its state in ZooKeeper. By default, the state is
contained in the base node <filename>/hbase/replication</filename>. This node contains
two child nodes, the <code>Peers</code> znode and the <code>RS</code> znode.</para>
<warning>
<para>Replication may be disrupted and data loss may occur if you delete the
replication tree (<filename>/hbase/replication/</filename>) from ZooKeeper. This is
despite the information about invariants at <xref
linkend="design.invariants.zk.data"/>. Follow progress on this issue at <link
xlink:href="https://issues.apache.org/jira/browse/HBASE-10295"
>HBASE-10295</link>.</para>
</warning>
</listitem>
</varlistentry>
<varlistentry>