@InterfaceAudience.Private
public class MapRClusterConnectionImpl
extends org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CALLBACK_THREADS |
| Constructor and Description |
|---|
MapRClusterConnectionImpl(org.apache.hadoop.conf.Configuration conf,
boolean managed,
org.apache.hadoop.hbase.security.User user,
org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules rule) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.lang.String why,
java.lang.Throwable e) |
void |
clearCaches(org.apache.hadoop.hbase.ServerName sn) |
void |
clearRegionCache() |
void |
clearRegionCache(byte[] tableName) |
void |
clearRegionCache(org.apache.hadoop.hbase.TableName tableName) |
void |
close() |
org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdmin |
createAbstractHBaseAdmin() |
void |
deleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location) |
org.apache.hadoop.hbase.client.Admin |
getAdmin() |
org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface |
getAdmin(org.apache.hadoop.hbase.ServerName serverName) |
org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface |
getAdmin(org.apache.hadoop.hbase.ServerName serverName,
boolean getMaster) |
org.apache.hadoop.hbase.client.AsyncProcess |
getAsyncProcess() |
org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy |
getBackoffPolicy() |
java.util.concurrent.ThreadPoolExecutor |
getBMPool() |
org.apache.hadoop.hbase.client.BufferedMutator |
getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) |
org.apache.hadoop.hbase.client.BufferedMutator |
getBufferedMutator(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface |
getClient(org.apache.hadoop.hbase.ServerName serverName) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
int |
getCurrentNrHRS() |
org.apache.hadoop.hbase.HTableDescriptor |
getHTableDescriptor(byte[] tableName) |
org.apache.hadoop.hbase.HTableDescriptor |
getHTableDescriptor(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.HTableDescriptor[] |
getHTableDescriptors(java.util.List<java.lang.String> tableNames) |
org.apache.hadoop.hbase.HTableDescriptor[] |
getHTableDescriptorsByTableName(java.util.List<org.apache.hadoop.hbase.TableName> tableNames) |
org.apache.hadoop.hbase.client.MasterKeepAliveConnection |
getKeepAliveMasterService() |
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface |
getMaster() |
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory |
getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.hbase.client.NonceGenerator |
getNonceGenerator() |
boolean |
getRegionCachePrefetch(byte[] tableName) |
boolean |
getRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.HRegionLocation |
getRegionLocation(byte[] tableName,
byte[] row,
boolean reload) |
org.apache.hadoop.hbase.HRegionLocation |
getRegionLocation(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean reload) |
org.apache.hadoop.hbase.client.RegionLocator |
getRegionLocator(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.client.ServerStatisticTracker |
getStatisticsTracker() |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(byte[] tableName) |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(byte[] tableName,
java.util.concurrent.ExecutorService pool) |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(java.lang.String tableName) |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(java.lang.String tableName,
java.util.concurrent.ExecutorService pool) |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool) |
org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules |
getTableMappingRule() |
java.lang.String[] |
getTableNames() |
org.apache.hadoop.hbase.security.User |
getUser() |
boolean |
isAborted() |
boolean |
isClosed() |
boolean |
isDeadServer(org.apache.hadoop.hbase.ServerName serverName) |
boolean |
isManaged() |
boolean |
isMasterRunning() |
boolean |
isTableAvailable(byte[] tableName) |
boolean |
isTableAvailable(byte[] tableName,
byte[][] splitKeys) |
boolean |
isTableAvailable(org.apache.hadoop.hbase.TableName tableName) |
boolean |
isTableAvailable(org.apache.hadoop.hbase.TableName tableName,
byte[][] splitKeys) |
boolean |
isTableDisabled(byte[] tableName) |
boolean |
isTableDisabled(org.apache.hadoop.hbase.TableName tableName) |
boolean |
isTableEnabled(byte[] tableName) |
boolean |
isTableEnabled(org.apache.hadoop.hbase.TableName tableName) |
org.apache.hadoop.hbase.TableName[] |
listTableNames() |
org.apache.hadoop.hbase.HTableDescriptor[] |
listTables() |
org.apache.hadoop.hbase.HRegionLocation |
locateRegion(byte[] regionName) |
org.apache.hadoop.hbase.HRegionLocation |
locateRegion(byte[] tableName,
byte[] row) |
org.apache.hadoop.hbase.HRegionLocation |
locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row) |
org.apache.hadoop.hbase.RegionLocations |
locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean useCache,
boolean retry) |
org.apache.hadoop.hbase.RegionLocations |
locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean useCache,
boolean retry,
int replicaId) |
java.util.List<org.apache.hadoop.hbase.HRegionLocation> |
locateRegions(byte[] tableName) |
java.util.List<org.apache.hadoop.hbase.HRegionLocation> |
locateRegions(byte[] tableName,
boolean useCache,
boolean offlined) |
java.util.List<org.apache.hadoop.hbase.HRegionLocation> |
locateRegions(org.apache.hadoop.hbase.TableName tableName) |
java.util.List<org.apache.hadoop.hbase.HRegionLocation> |
locateRegions(org.apache.hadoop.hbase.TableName tableName,
boolean useCache,
boolean offlined) |
void |
processBatch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
byte[] tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results) |
void |
processBatch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results) |
<R> void |
processBatchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> list,
byte[] tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
<R> void |
processBatchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> list,
org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
org.apache.hadoop.hbase.HRegionLocation |
relocateRegion(byte[] tableName,
byte[] row) |
org.apache.hadoop.hbase.HRegionLocation |
relocateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row) |
org.apache.hadoop.hbase.RegionLocations |
relocateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
int replicaId) |
void |
setRegionCachePrefetch(byte[] tableName,
boolean enable) |
void |
setRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName,
boolean enable) |
void |
updateCachedLocations(byte[] tableName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.HRegionLocation source) |
void |
updateCachedLocations(org.apache.hadoop.hbase.TableName tableName,
byte[] regionName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.ServerName source) |
void |
updateCachedLocations(org.apache.hadoop.hbase.TableName tableName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.HRegionLocation source) |
public static final int DEFAULT_CALLBACK_THREADS
public MapRClusterConnectionImpl(org.apache.hadoop.conf.Configuration conf,
boolean managed,
org.apache.hadoop.hbase.security.User user,
org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules rule)
throws java.io.IOException
java.io.IOExceptionpublic org.apache.hadoop.hbase.security.User getUser()
public void abort(java.lang.String why,
java.lang.Throwable e)
abort in interface org.apache.hadoop.hbase.Abortableabort in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic boolean isAborted()
isAborted in interface org.apache.hadoop.hbase.AbortableisAborted in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic java.util.concurrent.ThreadPoolExecutor getBMPool()
getBMPool in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface org.apache.hadoop.hbase.client.Connectionclose in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface org.apache.hadoop.hbase.client.ConnectiongetConfiguration in interface org.apache.hadoop.hbase.client.HConnectiongetConfiguration in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules getTableMappingRule()
getTableMappingRule in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(java.lang.String tableName)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(byte[] tableName)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.ConnectiongetTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(java.lang.String tableName,
java.util.concurrent.ExecutorService pool)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(byte[] tableName,
java.util.concurrent.ExecutorService pool)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.HTableInterface getTable(org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool)
throws java.io.IOException
getTable in interface org.apache.hadoop.hbase.client.ConnectiongetTable in interface org.apache.hadoop.hbase.client.HConnectiongetTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params)
getBufferedMutator in interface org.apache.hadoop.hbase.client.ConnectiongetBufferedMutator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
getBufferedMutator in interface org.apache.hadoop.hbase.client.ConnectiongetBufferedMutator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.RegionLocator getRegionLocator(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
getRegionLocator in interface org.apache.hadoop.hbase.client.ConnectiongetRegionLocator in interface org.apache.hadoop.hbase.client.HConnectiongetRegionLocator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdmin createAbstractHBaseAdmin()
throws java.io.IOException
createAbstractHBaseAdmin in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.client.Admin getAdmin()
throws java.io.IOException
getAdmin in interface org.apache.hadoop.hbase.client.ConnectiongetAdmin in interface org.apache.hadoop.hbase.client.HConnectiongetAdmin in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isMasterRunning()
throws org.apache.hadoop.hbase.MasterNotRunningException,
org.apache.hadoop.hbase.ZooKeeperConnectionException
isMasterRunning in interface org.apache.hadoop.hbase.client.ClusterConnectionisMasterRunning in interface org.apache.hadoop.hbase.client.HConnectionisMasterRunning in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionorg.apache.hadoop.hbase.MasterNotRunningExceptionorg.apache.hadoop.hbase.ZooKeeperConnectionExceptionpublic boolean isTableEnabled(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
isTableEnabled in interface org.apache.hadoop.hbase.client.HConnectionisTableEnabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableEnabled(byte[] tableName)
throws java.io.IOException
isTableEnabled in interface org.apache.hadoop.hbase.client.HConnectionisTableEnabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableDisabled(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
isTableDisabled in interface org.apache.hadoop.hbase.client.HConnectionisTableDisabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableDisabled(byte[] tableName)
throws java.io.IOException
isTableDisabled in interface org.apache.hadoop.hbase.client.HConnectionisTableDisabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableAvailable(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
isTableAvailable in interface org.apache.hadoop.hbase.client.HConnectionisTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableAvailable(byte[] tableName)
throws java.io.IOException
isTableAvailable in interface org.apache.hadoop.hbase.client.HConnectionisTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableAvailable(org.apache.hadoop.hbase.TableName tableName,
byte[][] splitKeys)
throws java.io.IOException
isTableAvailable in interface org.apache.hadoop.hbase.client.ClusterConnectionisTableAvailable in interface org.apache.hadoop.hbase.client.HConnectionisTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isTableAvailable(byte[] tableName,
byte[][] splitKeys)
throws java.io.IOException
isTableAvailable in interface org.apache.hadoop.hbase.client.HConnectionisTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HTableDescriptor[] listTables()
throws java.io.IOException
listTables in interface org.apache.hadoop.hbase.client.HConnectionlistTables in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic java.lang.String[] getTableNames()
throws java.io.IOException
getTableNames in interface org.apache.hadoop.hbase.client.HConnectiongetTableNames in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.TableName[] listTableNames()
throws java.io.IOException
listTableNames in interface org.apache.hadoop.hbase.client.HConnectionlistTableNames in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HTableDescriptor getHTableDescriptor(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
getHTableDescriptor in interface org.apache.hadoop.hbase.client.HConnectiongetHTableDescriptor in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HTableDescriptor getHTableDescriptor(byte[] tableName)
throws java.io.IOException
getHTableDescriptor in interface org.apache.hadoop.hbase.client.HConnectiongetHTableDescriptor in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HRegionLocation locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row)
throws java.io.IOException
locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegion in interface org.apache.hadoop.hbase.client.HConnectionlocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HRegionLocation locateRegion(byte[] tableName,
byte[] row)
throws java.io.IOException
locateRegion in interface org.apache.hadoop.hbase.client.HConnectionlocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.RegionLocations locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean useCache,
boolean retry)
throws java.io.IOException
locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic void clearRegionCache()
clearRegionCache in interface org.apache.hadoop.hbase.client.ClusterConnectionclearRegionCache in interface org.apache.hadoop.hbase.client.HConnectionclearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void clearRegionCache(org.apache.hadoop.hbase.TableName tableName)
clearRegionCache in interface org.apache.hadoop.hbase.client.ClusterConnectionclearRegionCache in interface org.apache.hadoop.hbase.client.HConnectionclearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void clearRegionCache(byte[] tableName)
clearRegionCache in interface org.apache.hadoop.hbase.client.HConnectionclearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void deleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location)
deleteCachedRegionLocation in interface org.apache.hadoop.hbase.client.ClusterConnectiondeleteCachedRegionLocation in interface org.apache.hadoop.hbase.client.HConnectiondeleteCachedRegionLocation in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.HRegionLocation relocateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row)
throws java.io.IOException
relocateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionrelocateRegion in interface org.apache.hadoop.hbase.client.HConnectionrelocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HRegionLocation relocateRegion(byte[] tableName,
byte[] row)
throws java.io.IOException
relocateRegion in interface org.apache.hadoop.hbase.client.HConnectionrelocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic void updateCachedLocations(org.apache.hadoop.hbase.TableName tableName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.HRegionLocation source)
updateCachedLocations in interface org.apache.hadoop.hbase.client.HConnectionupdateCachedLocations in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void updateCachedLocations(org.apache.hadoop.hbase.TableName tableName,
byte[] regionName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.ServerName source)
updateCachedLocations in interface org.apache.hadoop.hbase.client.ClusterConnectionupdateCachedLocations in interface org.apache.hadoop.hbase.client.HConnectionupdateCachedLocations in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void updateCachedLocations(byte[] tableName,
byte[] rowkey,
java.lang.Object exception,
org.apache.hadoop.hbase.HRegionLocation source)
updateCachedLocations in interface org.apache.hadoop.hbase.client.HConnectionupdateCachedLocations in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.HRegionLocation locateRegion(byte[] regionName)
throws java.io.IOException
locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegion in interface org.apache.hadoop.hbase.client.HConnectionlocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic java.util.List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(org.apache.hadoop.hbase.TableName tableName)
throws java.io.IOException
locateRegions in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegions in interface org.apache.hadoop.hbase.client.HConnectionlocateRegions in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic java.util.List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(byte[] tableName)
throws java.io.IOException
locateRegions in interface org.apache.hadoop.hbase.client.HConnectionlocateRegions in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic java.util.List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(org.apache.hadoop.hbase.TableName tableName,
boolean useCache,
boolean offlined)
throws java.io.IOException
locateRegions in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegions in interface org.apache.hadoop.hbase.client.HConnectionlocateRegions in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic java.util.List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(byte[] tableName,
boolean useCache,
boolean offlined)
throws java.io.IOException
locateRegions in interface org.apache.hadoop.hbase.client.HConnectionlocateRegions in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.RegionLocations locateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean useCache,
boolean retry,
int replicaId)
throws java.io.IOException
locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionlocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.RegionLocations relocateRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
int replicaId)
throws java.io.IOException
relocateRegion in interface org.apache.hadoop.hbase.client.ClusterConnectionrelocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface getMaster()
throws java.io.IOException
getMaster in interface org.apache.hadoop.hbase.client.ClusterConnectiongetMaster in interface org.apache.hadoop.hbase.client.HConnectiongetMaster in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin(org.apache.hadoop.hbase.ServerName serverName)
throws java.io.IOException
getAdmin in interface org.apache.hadoop.hbase.client.ClusterConnectiongetAdmin in interface org.apache.hadoop.hbase.client.HConnectiongetAdmin in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient(org.apache.hadoop.hbase.ServerName serverName)
throws java.io.IOException
getClient in interface org.apache.hadoop.hbase.client.ClusterConnectiongetClient in interface org.apache.hadoop.hbase.client.HConnectiongetClient in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin(org.apache.hadoop.hbase.ServerName serverName,
boolean getMaster)
throws java.io.IOException
getAdmin in interface org.apache.hadoop.hbase.client.HConnectiongetAdmin in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HRegionLocation getRegionLocation(org.apache.hadoop.hbase.TableName tableName,
byte[] row,
boolean reload)
throws java.io.IOException
getRegionLocation in interface org.apache.hadoop.hbase.client.ClusterConnectiongetRegionLocation in interface org.apache.hadoop.hbase.client.HConnectiongetRegionLocation in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HRegionLocation getRegionLocation(byte[] tableName,
byte[] row,
boolean reload)
throws java.io.IOException
getRegionLocation in interface org.apache.hadoop.hbase.client.HConnectiongetRegionLocation in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic void processBatch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results)
throws java.io.IOException,
java.lang.InterruptedException
processBatch in interface org.apache.hadoop.hbase.client.HConnectionprocessBatch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void processBatch(java.util.List<? extends org.apache.hadoop.hbase.client.Row> actions,
byte[] tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results)
throws java.io.IOException,
java.lang.InterruptedException
processBatch in interface org.apache.hadoop.hbase.client.HConnectionprocessBatch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic <R> void processBatchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> list,
org.apache.hadoop.hbase.TableName tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)
throws java.io.IOException,
java.lang.InterruptedException
processBatchCallback in interface org.apache.hadoop.hbase.client.HConnectionprocessBatchCallback in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic <R> void processBatchCallback(java.util.List<? extends org.apache.hadoop.hbase.client.Row> list,
byte[] tableName,
java.util.concurrent.ExecutorService pool,
java.lang.Object[] results,
org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)
throws java.io.IOException,
java.lang.InterruptedException
processBatchCallback in interface org.apache.hadoop.hbase.client.HConnectionprocessBatchCallback in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void setRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName,
boolean enable)
setRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnectionsetRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void setRegionCachePrefetch(byte[] tableName,
boolean enable)
setRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnectionsetRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic boolean getRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName)
getRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnectiongetRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic boolean getRegionCachePrefetch(byte[] tableName)
getRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnectiongetRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic int getCurrentNrHRS()
throws java.io.IOException
getCurrentNrHRS in interface org.apache.hadoop.hbase.client.HConnectiongetCurrentNrHRS in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HTableDescriptor[] getHTableDescriptorsByTableName(java.util.List<org.apache.hadoop.hbase.TableName> tableNames)
throws java.io.IOException
getHTableDescriptorsByTableName in interface org.apache.hadoop.hbase.client.HConnectiongetHTableDescriptorsByTableName in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic org.apache.hadoop.hbase.HTableDescriptor[] getHTableDescriptors(java.util.List<java.lang.String> tableNames)
throws java.io.IOException
getHTableDescriptors in interface org.apache.hadoop.hbase.client.HConnectiongetHTableDescriptors in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionjava.io.IOExceptionpublic boolean isClosed()
isClosed in interface org.apache.hadoop.hbase.client.ConnectionisClosed in interface org.apache.hadoop.hbase.client.HConnectionisClosed in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic void clearCaches(org.apache.hadoop.hbase.ServerName sn)
clearCaches in interface org.apache.hadoop.hbase.client.ClusterConnectionclearCaches in interface org.apache.hadoop.hbase.client.HConnectionclearCaches in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.MasterKeepAliveConnection getKeepAliveMasterService()
throws org.apache.hadoop.hbase.MasterNotRunningException
getKeepAliveMasterService in interface org.apache.hadoop.hbase.client.ClusterConnectiongetKeepAliveMasterService in interface org.apache.hadoop.hbase.client.HConnectiongetKeepAliveMasterService in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionorg.apache.hadoop.hbase.MasterNotRunningExceptionpublic boolean isDeadServer(org.apache.hadoop.hbase.ServerName serverName)
isDeadServer in interface org.apache.hadoop.hbase.client.ClusterConnectionisDeadServer in interface org.apache.hadoop.hbase.client.HConnectionisDeadServer in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.NonceGenerator getNonceGenerator()
getNonceGenerator in interface org.apache.hadoop.hbase.client.ClusterConnectiongetNonceGenerator in interface org.apache.hadoop.hbase.client.HConnectiongetNonceGenerator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.AsyncProcess getAsyncProcess()
getAsyncProcess in interface org.apache.hadoop.hbase.client.ClusterConnectiongetAsyncProcess in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.RpcRetryingCallerFactory getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)
getNewRpcRetryingCallerFactory in interface org.apache.hadoop.hbase.client.ClusterConnectiongetNewRpcRetryingCallerFactory in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic boolean isManaged()
isManaged in interface org.apache.hadoop.hbase.client.ClusterConnectionisManaged in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker()
getStatisticsTracker in interface org.apache.hadoop.hbase.client.ClusterConnectiongetStatisticsTracker in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnectionpublic org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy()
getBackoffPolicy in interface org.apache.hadoop.hbase.client.ClusterConnectiongetBackoffPolicy in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection