Skip navigation links
A C D E G I L N O P R S T U V Z 

A

addHFileRefs(String, List<Pair<Path, Path>>) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Add new hfile references to the queue.
addPeer(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
Method called after a peer has been connected.
addPeer(String, ReplicationPeerConfig, boolean) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Add a replication peer.
addPeer(String, ReplicationPeerConfig, boolean) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
addPeerToHFileRefs(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Add a peer to hfile reference queue if peer does not exist.
addWAL(ServerName, String, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Add a new WAL file to the given queue for a given regionserver.

C

claimQueue(ServerName, String, ServerName) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Change ownership for the queue identified by queueId and belongs to a dead region server.
conf - Variable in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
 
contains(ReplicationPeerConfig, TableName) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
Deprecated.
Will be removed in HBase 3. Use ReplicationPeerConfig.needToReplicate(TableName) instead.

D

DISABLED_ZNODE_BYTES - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 

E

ENABLED_ZNODE_BYTES - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 

G

getAdaptiveTimeout(int, int) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
Get the adaptive timeout value when performing a retry
getAllHFileRefs() - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Load all hfile references in all replication queues.
getAllPeerIds() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
Returns the set of peerIds of the clusters that have been connected and have an underlying ReplicationPeer.
getAllPeersFromHFileRefsQueue() - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get list of all peers from hfile reference queue.
getAllQueues(ServerName) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get a list of all queues for the specified region server.
getAllWALs() - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Load all wals in all replication queues.
getConf() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
getConfiguration() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get the configuration object required to communicate with this peer
getConfiguration() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Get the configuration object required to communicate with this peer
getDeadRegionServers() - Method in class org.apache.hadoop.hbase.replication.ReplicationQueueInfo
 
getId() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get the identifier of this peer
getId() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Get the identifier of this peer
getLastSequenceId(String, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Read the max sequence id of the specific region for a given peer.
getListOfRegionServers() - Method in interface org.apache.hadoop.hbase.replication.ReplicationTracker
Returns a list of other live region servers in the cluster.
getListOfRegionServers() - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl
Return a snapshot of the current region servers.
getListOfReplicators() - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get a list of all region servers that have outstanding replication queues.
getNamespaces() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get replicable namespace set of this peer
getNamespaces() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Get replicable namespace set of this peer
getPeer(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
Returns the ReplicationPeerImpl for the specified cached peer.
getPeerBandwidth() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get the per node bandwidth upper limit for this peer
getPeerBandwidth() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
 
getPeerCache() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
getPeerClusterConfiguration(ReplicationPeerConfig, Configuration) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
 
getPeerConfig() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get the peer config object
getPeerConfig() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Get the peer config object
getPeerConfig(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Get the peer config of a replication peer.
getPeerConfig(String) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
getPeerId() - Method in class org.apache.hadoop.hbase.replication.ReplicationQueueInfo
 
getPeerNode(String) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
getPeerState() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Returns the state of the peer by reading local cache.
getPeerState() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
 
getPeerStateNode(String) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
getPeerStorage() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
getQueueId() - Method in class org.apache.hadoop.hbase.replication.ReplicationQueueInfo
 
getReplicableHFiles(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get a list of all hfile references in the given peer.
getReplicationPeers(ZKWatcher, Configuration) - Static method in class org.apache.hadoop.hbase.replication.ReplicationFactory
 
getReplicationPeerStorage(ZKWatcher, Configuration) - Static method in class org.apache.hadoop.hbase.replication.ReplicationStorageFactory
getReplicationQueueStorage(ZKWatcher, Configuration) - Static method in class org.apache.hadoop.hbase.replication.ReplicationStorageFactory
getReplicationTracker(ZKWatcher, Abortable, Stoppable) - Static method in class org.apache.hadoop.hbase.replication.ReplicationFactory
 
getRsNode(ServerName) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get full znode name for given region server
getTableCFs() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Get replicable (table, cf-list) map of this peer
getTableCFs() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Get replicable (table, cf-list) map of this peer
getWALPosition(ServerName, String, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get the current position for a specific WAL in a given queue for a given regionserver.
getWALsInQueue(ServerName, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Get a list of all WALs in the given queue on the given region server.

I

init() - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
isNamespacesAndTableCFsEqual(ReplicationPeerConfig, ReplicationPeerConfig) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
 
isPeerEnabled() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Test whether the peer is enabled.
isPeerEnabled(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Test whether a replication peer is enabled.
isPeerEnabled(String) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
isQueueRecovered() - Method in class org.apache.hadoop.hbase.replication.ReplicationQueueInfo
 
isReplicationForBulkLoadDataEnabled(Configuration) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
 

L

listPeerIds() - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Return the peer ids of all replication peers.
listPeerIds() - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 

N

nodeChildrenChanged(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.OtherRegionServerWatcher
Called when an existing node has a child node added or removed.
nodeCreated(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.OtherRegionServerWatcher
Called when a new node has been created.
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.OtherRegionServerWatcher
Called when a node has been deleted

O

org.apache.hadoop.hbase.replication - package org.apache.hadoop.hbase.replication
 
OtherRegionServerWatcher(ZKWatcher) - Constructor for class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.OtherRegionServerWatcher
Construct a ZooKeeper event listener.

P

peerConfigUpdated(ReplicationPeerConfig) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
Callback method for when users update the ReplicationPeerConfig for this peer
PEERS_STATE_ZNODE - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
PEERS_STATE_ZNODE_DEFAULT - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
PEERS_ZNODE - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
PEERS_ZNODE_DEFAULT - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 

R

refreshPeerConfig(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
refreshPeerState(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
regionServerRemoved(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationListener
A region server has been removed from the local cluster
registerListener(ReplicationListener) - Method in interface org.apache.hadoop.hbase.replication.ReplicationTracker
Register a replication listener to receive replication events.
registerListener(ReplicationListener) - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl
 
registerPeerConfigListener(ReplicationPeerConfigListener) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Register a peer config listener to catch the peer config change event.
registerPeerConfigListener(ReplicationPeerConfigListener) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
 
removeAllQueues(ReplicationQueueStorage, String) - Static method in class org.apache.hadoop.hbase.replication.ReplicationUtils
 
removeHFileRefs(String, List<String>) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove hfile references from the queue.
removeLastSequenceIds(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove all the max sequence id record for the given peer.
removeLastSequenceIds(String, List<String>) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove the max sequence id record for the given peer and regions.
removeListener(ReplicationListener) - Method in interface org.apache.hadoop.hbase.replication.ReplicationTracker
 
removeListener(ReplicationListener) - Method in class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl
 
removePeer(String) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeers
 
removePeer(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Remove a replication peer.
removePeer(String) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
removePeerFromHFileRefs(String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove a peer from hfile reference queue.
removeQueue(ServerName, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove a replication queue for a given regionserver.
removeReplicatorIfQueueIsEmpty(ServerName) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove the record of region server if the queue is empty.
removeWAL(ServerName, String, String) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Remove an WAL file from the given queue for a given regionserver.
REPLICATION_ZNODE - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
 
REPLICATION_ZNODE_DEFAULT - Static variable in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
 
ReplicationFactory - Class in org.apache.hadoop.hbase.replication
A factory class for instantiating replication objects that deal with replication state.
ReplicationFactory() - Constructor for class org.apache.hadoop.hbase.replication.ReplicationFactory
 
ReplicationListener - Interface in org.apache.hadoop.hbase.replication
The replication listener interface can be implemented if a class needs to subscribe to events generated by the ReplicationTracker.
ReplicationPeer - Interface in org.apache.hadoop.hbase.replication
ReplicationPeer manages enabled / disabled state for the peer.
ReplicationPeer.PeerState - Enum in org.apache.hadoop.hbase.replication
State of the peer, whether it is enabled or not
ReplicationPeerConfigListener - Interface in org.apache.hadoop.hbase.replication
 
ReplicationPeerImpl - Class in org.apache.hadoop.hbase.replication
 
ReplicationPeerImpl(Configuration, String, boolean, ReplicationPeerConfig) - Constructor for class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
Constructor that takes all the objects required to communicate with the specified peer, except for the region server addresses.
ReplicationPeers - Class in org.apache.hadoop.hbase.replication
This provides an class for maintaining a set of peer clusters.
ReplicationPeerStorage - Interface in org.apache.hadoop.hbase.replication
Perform read/write to the replication peer storage.
ReplicationQueueInfo - Class in org.apache.hadoop.hbase.replication
This class is responsible for the parsing logic for a queue id representing a queue.
ReplicationQueueInfo(String) - Constructor for class org.apache.hadoop.hbase.replication.ReplicationQueueInfo
The passed queueId will be either the id of the peer or the handling story of that queue in the form of id-servername-*
ReplicationQueueStorage - Interface in org.apache.hadoop.hbase.replication
Perform read/write to the replication queue storage.
ReplicationStorageFactory - Class in org.apache.hadoop.hbase.replication
Used to create replication storage(peer, queue) classes.
ReplicationTracker - Interface in org.apache.hadoop.hbase.replication
This is the interface for a Replication Tracker.
ReplicationTrackerZKImpl - Class in org.apache.hadoop.hbase.replication
This class is a ZooKeeper implementation of the ReplicationTracker interface.
ReplicationTrackerZKImpl(ZKWatcher, Abortable, Stoppable) - Constructor for class org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl
 
ReplicationTrackerZKImpl.OtherRegionServerWatcher - Class in org.apache.hadoop.hbase.replication
Watcher used to be notified of the other region server's death in the local cluster.
ReplicationUtils - Class in org.apache.hadoop.hbase.replication
Helper class for replication.
replicationZNode - Variable in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
The name of the base znode that contains all replication state.

S

setLastSequenceIds(String, Map<String, Long>) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Set the max sequence id of a bunch of regions for a given peer.
setPeerConfig(ReplicationPeerConfig) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
 
setPeerState(boolean) - Method in class org.apache.hadoop.hbase.replication.ReplicationPeerImpl
 
setPeerState(String, boolean) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Set the state of peer, true to ENABLED, otherwise to DISABLED.
setPeerState(String, boolean) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
setWALPosition(ServerName, String, String, long, Map<String, Long>) - Method in interface org.apache.hadoop.hbase.replication.ReplicationQueueStorage
Set the current position for a specific WAL in a given queue for a given regionserver.

T

toByteArray(ReplicationProtos.ReplicationState.State) - Static method in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
Serialized protobuf of 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.
trackPeerConfigChanges(ReplicationPeerConfigListener) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeer
Deprecated.
since 2.1.0 and will be removed in 4.0.0. Use ReplicationPeer.registerPeerConfigListener(ReplicationPeerConfigListener) instead.

U

updatePeerConfig(String, ReplicationPeerConfig) - Method in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
Update the config a replication peer.
updatePeerConfig(String, ReplicationPeerConfig) - Method in class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 

V

valueOf(String) - Static method in enum org.apache.hadoop.hbase.replication.ReplicationPeer.PeerState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.hadoop.hbase.replication.ReplicationPeer.PeerState
Returns an array containing the constants of this enum type, in the order they are declared.

Z

ZKReplicationPeerStorage - Class in org.apache.hadoop.hbase.replication
ZK based replication peer storage.
ZKReplicationPeerStorage(ZKWatcher, Configuration) - Constructor for class org.apache.hadoop.hbase.replication.ZKReplicationPeerStorage
 
ZKReplicationStorageBase - Class in org.apache.hadoop.hbase.replication
This is a base class for maintaining replication related data,for example, peer, queue, etc, in zookeeper.
ZKReplicationStorageBase(ZKWatcher, Configuration) - Constructor for class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
 
zookeeper - Variable in class org.apache.hadoop.hbase.replication.ZKReplicationStorageBase
 
A C D E G I L N O P R S T U V Z 
Skip navigation links

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.