Package | Description |
---|---|
org.apache.hadoop.hbase.replication |
Multi Cluster Replication
|
Modifier and Type | Method and Description |
---|---|
static ReplicationPeerConfigBuilder |
ReplicationPeerConfig.newBuilder() |
static ReplicationPeerConfigBuilder |
ReplicationPeerConfig.newBuilder(ReplicationPeerConfig peerConfig) |
default ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.putAllConfiguration(Map<String,String> configuration)
Adds all of the provided "raw" configuration entries to
this . |
default ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.putAllPeerData(Map<byte[],byte[]> peerData)
Sets all of the provided serialized peer configuration data.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.putConfiguration(String key,
String value)
Sets a "raw" configuration property for this replication peer.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.putPeerData(byte[] key,
byte[] value)
Sets the serialized peer configuration data
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setBandwidth(long bandwidth)
Sets the speed, in bytes per second, for any one RegionServer to replicate data to the peer.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setClusterKey(String clusterKey)
Set the clusterKey which is the concatenation of the slave cluster's:
hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setExcludeNamespaces(Set<String> namespaces)
Sets the collection of namespaces which should not be replicated when all user tables are
configured to be replicated.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setExcludeTableCFsMap(Map<TableName,List<String>> tableCFsMap)
Sets the mapping of table name to column families which should not be replicated.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setNamespaces(Set<String> namespaces)
Sets a unique collection of HBase namespaces that should be replicated to this peer.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setReplicateAllUserTables(boolean replicateAllUserTables)
Configures HBase to replicate all user tables (not system tables) to the peer.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setReplicationEndpointImpl(String replicationEndpointImpl)
Sets the ReplicationEndpoint plugin class for this peer.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setSerial(boolean serial)
Sets whether we should preserve order when replicating, i.e, serial replication.
|
ReplicationPeerConfigBuilder |
ReplicationPeerConfigBuilder.setTableCFsMap(Map<TableName,List<String>> tableCFsMap)
Sets an explicit map of tables and column families in those tables that should be replicated
to the given peer.
|
Copyright © 2007–2019 Cloudera. All rights reserved.