@InterfaceAudience.Private public class ZKReplicationStorageBase extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.hadoop.conf.Configuration | conf | 
| static String | REPLICATION_ZNODE | 
| static String | REPLICATION_ZNODE_DEFAULT | 
| protected String | replicationZNodeThe name of the base znode that contains all replication state. | 
| protected ZKWatcher | zookeeper | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | ZKReplicationStorageBase(ZKWatcher zookeeper,
                        org.apache.hadoop.conf.Configuration conf) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static byte[] | toByteArray(org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.ReplicationState.State state)Serialized protobuf of  statewith pb magic prefix prepended suitable for use as
 content of a peer-state znode under a peer cluster id as in
 /hbase/replication/peers/PEER_ID/peer-state. | 
public static final String REPLICATION_ZNODE
public static final String REPLICATION_ZNODE_DEFAULT
protected final String replicationZNode
protected final org.apache.hadoop.conf.Configuration conf
protected ZKReplicationStorageBase(ZKWatcher zookeeper, org.apache.hadoop.conf.Configuration conf)
protected static byte[] toByteArray(org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.ReplicationState.State state)
state with pb magic prefix prepended suitable for use as
 content of a peer-state znode under a peer cluster id as in
 /hbase/replication/peers/PEER_ID/peer-state.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.