HBASE-17348 Remove the unused hbase.replication from javadoc/comment/book completely

This commit is contained in:
Guanghao Zhang 2016-12-25 08:46:29 +08:00
parent 8cb55c4080
commit 8da7366fc2
7 changed files with 7 additions and 11 deletions

View File

@ -62,9 +62,7 @@ import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;
/**
* <p>
* This class provides the administrative interface to HBase cluster
* replication. In order to use it, the cluster and the client using
* ReplicationAdmin must be configured with <code>hbase.replication</code>
* set to true.
* replication.
* </p>
* <p>
* Adding a new peer results in creating new outbound connections from every

View File

@ -18964,7 +18964,7 @@ public final class AdminProtos {
**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
* </pre>
*
* Protobuf type {@code hbase.pb.ReplicateWALEntryRequest}
@ -19427,7 +19427,7 @@ public final class AdminProtos {
**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
* </pre>
*
* Protobuf type {@code hbase.pb.ReplicateWALEntryRequest}

View File

@ -219,7 +219,7 @@ message WALEntry {
/**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
*/
message ReplicateWALEntryRequest {
repeated WALEntry entry = 1;

View File

@ -16949,7 +16949,7 @@ public final class AdminProtos {
**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
* </pre>
*/
public static final class ReplicateWALEntryRequest extends
@ -17439,7 +17439,7 @@ public final class AdminProtos {
**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
* </pre>
*/
public static final class Builder extends

View File

@ -206,7 +206,7 @@ message WALEntry {
/**
* Replicates the given entries. The guarantee is that the given entries
* will be durable on the slave cluster if this method returns without
* any exception. hbase.replication has to be set to true for this to work.
* any exception.
*/
message ReplicateWALEntryRequest {
repeated WALEntry entry = 1;

View File

@ -363,7 +363,6 @@ Shell.load_command_group(
Shell.load_command_group(
'replication',
:full_name => 'CLUSTER REPLICATION TOOLS',
:comment => "In order to use these tools, hbase.replication must be true.",
:commands => %w[
add_peer
remove_peer

View File

@ -1358,7 +1358,6 @@ Instead of SQL statements, entire WALEdits (consisting of multiple cell inserts
Create tables with the same names and column families on both the source and destination clusters, so that the destination cluster knows where to store data it will receive.
. All hosts in the source and destination clusters should be reachable to each other.
. If both clusters use the same ZooKeeper cluster, you must use a different `zookeeper.znode.parent`, because they cannot write in the same folder.
. Check to be sure that replication has not been disabled. `hbase.replication` defaults to `true`.
. On the source cluster, in HBase Shell, add the destination cluster as a peer, using the `add_peer` command.
. On the source cluster, in HBase Shell, enable the table replication, using the `enable_table_replication` command.
. Check the logs to see if replication is taking place. If so, you will see messages like the following, coming from the ReplicationSource.