@InterfaceAudience.Private public final class ReplicationUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig,
org.apache.hadoop.hbase.TableName tableName)
Returns whether we should replicate the given table.
|
static org.apache.hadoop.conf.Configuration |
getPeerClusterConfiguration(org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig,
org.apache.hadoop.conf.Configuration baseConf) |
static boolean |
isNamespacesAndTableCFsEqual(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc1,
org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc2) |
static boolean |
isReplicationForBulkLoadDataEnabled(org.apache.hadoop.conf.Configuration c) |
static void |
removeAllQueues(ReplicationQueueStorage queueStorage,
String peerId) |
public static org.apache.hadoop.conf.Configuration getPeerClusterConfiguration(org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig,
org.apache.hadoop.conf.Configuration baseConf)
throws org.apache.hadoop.hbase.replication.ReplicationException
org.apache.hadoop.hbase.replication.ReplicationExceptionpublic static void removeAllQueues(ReplicationQueueStorage queueStorage, String peerId) throws org.apache.hadoop.hbase.replication.ReplicationException
org.apache.hadoop.hbase.replication.ReplicationExceptionpublic static boolean isNamespacesAndTableCFsEqual(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc1,
org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc2)
public static boolean isReplicationForBulkLoadDataEnabled(org.apache.hadoop.conf.Configuration c)
c - Configuration to look atpublic static boolean contains(org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig,
org.apache.hadoop.hbase.TableName tableName)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.