diff --git a/src/main/docbkx/developer.xml b/src/main/docbkx/developer.xml index cf2ed10071b..91fb5f399b4 100644 --- a/src/main/docbkx/developer.xml +++ b/src/main/docbkx/developer.xml @@ -1569,13 +1569,32 @@ public class MyHBaseIntegrationTest { We don't have many but what we have we list below. All are subject to challenge of course but until then, please hold to the rules of the road. -
- No permanent state in ZooKeeper - ZooKeeper state should transient (treat it like memory). If deleted, hbase - should be able to recover and essentially be in the same stateThere are currently - a few exceptions that we need to fix around whether a table is enabled or disabled. - -
+
+ No permanent state in ZooKeeper + 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. + + Exceptions + + There are currently a few exceptions that we need to fix around + whether a table is enabled or disabled. + + + 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, + /hbase/replication/. + + Replication may be disrupted and data loss may occur if you delete + the replication tree (/hbase/replication/) from + ZooKeeper. Follow progress on this issue at HBASE-10295. + + + +
diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml index fdf4a6acef2..eb5c98cdfdc 100644 --- a/src/main/docbkx/ops_mgt.xml +++ b/src/main/docbkx/ops_mgt.xml @@ -1141,10 +1141,10 @@ false replicate and keeps track of the current position inside ZooKeeper to simplify failure recovery. That position, as well as the queue of WALs to process, may be different for every slave cluster. - + The clusters participating in replication can be of different sizes. The master cluster relies on randomization to attempt to balance the stream of replication on the slave clusters - + HBase supports master/master and cyclic replication as well as replication to multiple slaves. @@ -1264,6 +1264,14 @@ false HBase replication maintains its state in ZooKeeper. By default, the state is contained in the base node /hbase/replication. This node contains two child nodes, the Peers znode and the RS znode. + + Replication may be disrupted and data loss may occur if you delete the + replication tree (/hbase/replication/) from ZooKeeper. This is + despite the information about invariants at . Follow progress on this issue at HBASE-10295. +