| Modifier and Type | Field and Description |
|---|---|
protected AsyncClusterConnection |
HBaseServerBase.asyncClusterConnection
The asynchronous cluster connection to be shared by services.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncClusterConnection |
Server.getAsyncClusterConnection()
Returns a reference to the servers' async cluster connection.
|
AsyncClusterConnection |
HBaseServerBase.getAsyncClusterConnection() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncClusterConnection |
ClusterConnectionFactory.createAsyncClusterConnection(org.apache.hadoop.conf.Configuration conf,
SocketAddress localAddress,
User user)
Create a new
AsyncClusterConnection instance. |
static AsyncClusterConnection |
ClusterConnectionFactory.createAsyncClusterConnection(ConnectionRegistryEndpoint endpoint,
org.apache.hadoop.conf.Configuration conf,
SocketAddress localAddress,
User user)
Create a new
AsyncClusterConnection instance to be used at server side where we have a
ConnectionRegistryEndpoint. |
| Modifier and Type | Method and Description |
|---|---|
static void |
ServerManager.closeRegionSilentlyAndWait(AsyncClusterConnection connection,
ServerName server,
RegionInfo region,
long timeout)
Contacts a region server and waits up to timeout ms to close the region.
|
| Constructor and Description |
|---|
BootstrapNodeManager(AsyncClusterConnection conn,
MasterAddressTracker masterAddrTracker) |
| Constructor and Description |
|---|
RegionReplicationSink(org.apache.hadoop.conf.Configuration conf,
RegionInfo primary,
TableDescriptor td,
RegionReplicationBufferManager manager,
Runnable flushRequester,
AsyncClusterConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncClusterConnection |
HBaseReplicationEndpoint.createConnection(org.apache.hadoop.conf.Configuration conf) |
| Constructor and Description |
|---|
HFileReplicator(org.apache.hadoop.conf.Configuration sourceClusterConf,
String sourceBaseNamespaceDirPath,
String sourceHFileArchiveDirPath,
Map<String,List<Pair<byte[],List<String>>>> tableQueueMap,
org.apache.hadoop.conf.Configuration conf,
AsyncClusterConnection connection,
List<String> sourceClusterIds) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BulkLoadHFilesTool.bulkLoadPhase(AsyncClusterConnection conn,
TableName tableName,
Deque<BulkLoadHFiles.LoadQueueItem> queue,
org.apache.hbase.thirdparty.com.google.common.collect.Multimap<ByteBuffer,BulkLoadHFiles.LoadQueueItem> regionGroups,
boolean copyFiles,
Map<BulkLoadHFiles.LoadQueueItem,ByteBuffer> item2RegionMap)
This takes the LQI's grouped by likely regions and attempts to bulk load them.
|
protected Pair<List<BulkLoadHFiles.LoadQueueItem>,String> |
BulkLoadHFilesTool.groupOrSplit(AsyncClusterConnection conn,
TableName tableName,
org.apache.hbase.thirdparty.com.google.common.collect.Multimap<ByteBuffer,BulkLoadHFiles.LoadQueueItem> regionGroups,
BulkLoadHFiles.LoadQueueItem item,
List<Pair<byte[],byte[]>> startEndKeys)
Attempt to assign the given load queue item into its target region group.
|
void |
BulkLoadHFilesTool.loadHFileQueue(AsyncClusterConnection conn,
TableName tableName,
Deque<BulkLoadHFiles.LoadQueueItem> queue,
boolean copyFiles)
Used by the replication sink to load the hfiles from the source cluster.
|
static void |
BulkLoadHFilesTool.prepareHFileQueue(AsyncClusterConnection conn,
TableName tableName,
Map<byte[],List<org.apache.hadoop.fs.Path>> map,
Deque<BulkLoadHFiles.LoadQueueItem> queue,
boolean silence)
Prepare a collection of
LoadQueueItem from list of source hfiles contained in the
passed directory and validates whether the prepared queue has all the valid table column
families in it. |
static void |
BulkLoadHFilesTool.prepareHFileQueue(org.apache.hadoop.conf.Configuration conf,
AsyncClusterConnection conn,
TableName tableName,
org.apache.hadoop.fs.Path hfilesDir,
Deque<BulkLoadHFiles.LoadQueueItem> queue,
boolean validateHFile,
boolean silence)
Prepare a collection of
LoadQueueItem from list of source hfiles contained in the
passed directory and validates whether the prepared queue has all the valid table column
families in it. |
protected CompletableFuture<Collection<BulkLoadHFiles.LoadQueueItem>> |
BulkLoadHFilesTool.tryAtomicRegionLoad(AsyncClusterConnection conn,
TableName tableName,
boolean copyFiles,
byte[] first,
Collection<BulkLoadHFiles.LoadQueueItem> lqis)
Attempts to do an atomic load of many hfiles into a region.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.