Package com.mapr.fs.hbase
Class MapRClusterConnectionImpl
java.lang.Object
org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
com.mapr.fs.hbase.MapRClusterConnectionImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.Abortable,org.apache.hadoop.hbase.client.ClusterConnection,org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.client.HConnection
@Private
public class MapRClusterConnectionImpl
extends org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
Field Summary
FieldsFields inherited from interface org.apache.hadoop.hbase.client.HConnection
HBASE_CLIENT_CONNECTION_IMPL -
Constructor Summary
ConstructorsConstructorDescriptionMapRClusterConnectionImpl(org.apache.hadoop.conf.Configuration conf, boolean managed, org.apache.hadoop.hbase.security.User user, org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules rule) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclearCaches(org.apache.hadoop.hbase.ServerName sn) voidvoidclearRegionCache(byte[] tableName) voidclearRegionCache(org.apache.hadoop.hbase.TableName tableName) voidclose()org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdminvoiddeleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location) org.apache.hadoop.hbase.client.AdmingetAdmin()org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterfacegetAdmin(org.apache.hadoop.hbase.ServerName serverName) org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterfacegetAdmin(org.apache.hadoop.hbase.ServerName serverName, boolean getMaster) org.apache.hadoop.hbase.client.AsyncProcessorg.apache.hadoop.hbase.client.backoff.ClientBackoffPolicyorg.apache.hadoop.hbase.client.BufferedMutatorgetBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) org.apache.hadoop.hbase.client.BufferedMutatorgetBufferedMutator(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterfacegetClient(org.apache.hadoop.hbase.ServerName serverName) org.apache.hadoop.conf.Configurationorg.apache.hadoop.hbase.client.ConnectionConfigurationorg.apache.hadoop.hbase.client.MetricsConnectionintorg.apache.hadoop.hbase.HTableDescriptorgetHTableDescriptor(byte[] tableName) org.apache.hadoop.hbase.HTableDescriptorgetHTableDescriptor(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.HTableDescriptor[]getHTableDescriptors(List<String> tableNames) org.apache.hadoop.hbase.HTableDescriptor[]getHTableDescriptorsByTableName(List<org.apache.hadoop.hbase.TableName> tableNames) org.apache.hadoop.hbase.client.MasterKeepAliveConnectionorg.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterfaceorg.apache.hadoop.hbase.client.RpcRetryingCallerFactorygetNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf) org.apache.hadoop.hbase.client.NonceGeneratorbooleangetRegionCachePrefetch(byte[] tableName) booleangetRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.HRegionLocationgetRegionLocation(byte[] tableName, byte[] row, boolean reload) org.apache.hadoop.hbase.HRegionLocationgetRegionLocation(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean reload) org.apache.hadoop.hbase.client.RegionLocatorgetRegionLocator(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.ipc.RpcControllerFactoryorg.apache.hadoop.hbase.client.RpcRetryingCallerFactoryorg.apache.hadoop.hbase.client.ServerStatisticTrackerorg.apache.hadoop.hbase.client.HTableInterfacegetTable(byte[] tableName) org.apache.hadoop.hbase.client.HTableInterfacegetTable(byte[] tableName, ExecutorService pool) org.apache.hadoop.hbase.client.HTableInterfaceorg.apache.hadoop.hbase.client.HTableInterfacegetTable(String tableName, ExecutorService pool) org.apache.hadoop.hbase.client.HTableInterfacegetTable(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.HTableInterfacegetTable(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) org.apache.hadoop.hbase.client.mapr.BaseTableMappingRulesString[]org.apache.hadoop.hbase.security.UsergetUser()booleanbooleanbooleanisClosed()booleanisDeadServer(org.apache.hadoop.hbase.ServerName serverName) booleanbooleanbooleanisTableAvailable(byte[] tableName) booleanisTableAvailable(byte[] tableName, byte[][] splitKeys) booleanisTableAvailable(org.apache.hadoop.hbase.TableName tableName) booleanisTableAvailable(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) booleanisTableDisabled(byte[] tableName) booleanisTableDisabled(org.apache.hadoop.hbase.TableName tableName) booleanisTableEnabled(byte[] tableName) booleanisTableEnabled(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.TableName[]org.apache.hadoop.hbase.HTableDescriptor[]org.apache.hadoop.hbase.HRegionLocationlocateRegion(byte[] regionName) org.apache.hadoop.hbase.HRegionLocationlocateRegion(byte[] tableName, byte[] row) org.apache.hadoop.hbase.HRegionLocationlocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row) org.apache.hadoop.hbase.RegionLocationslocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) org.apache.hadoop.hbase.RegionLocationslocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) List<org.apache.hadoop.hbase.HRegionLocation>locateRegions(byte[] tableName) List<org.apache.hadoop.hbase.HRegionLocation>locateRegions(byte[] tableName, boolean useCache, boolean offlined) List<org.apache.hadoop.hbase.HRegionLocation>locateRegions(org.apache.hadoop.hbase.TableName tableName) List<org.apache.hadoop.hbase.HRegionLocation>locateRegions(org.apache.hadoop.hbase.TableName tableName, boolean useCache, boolean offlined) voidprocessBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, byte[] tableName, ExecutorService pool, Object[] results) voidprocessBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, org.apache.hadoop.hbase.TableName tableName, ExecutorService pool, Object[] results) <R> voidprocessBatchCallback(List<? extends org.apache.hadoop.hbase.client.Row> list, byte[] tableName, ExecutorService pool, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) <R> voidprocessBatchCallback(List<? extends org.apache.hadoop.hbase.client.Row> list, org.apache.hadoop.hbase.TableName tableName, ExecutorService pool, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) org.apache.hadoop.hbase.HRegionLocationrelocateRegion(byte[] tableName, byte[] row) org.apache.hadoop.hbase.HRegionLocationrelocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row) org.apache.hadoop.hbase.RegionLocationsrelocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) voidsetRegionCachePrefetch(byte[] tableName, boolean enable) voidsetRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName, boolean enable) voidupdateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.HRegionLocation source) voidupdateCachedLocations(org.apache.hadoop.hbase.TableName tableName, byte[] regionName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.ServerName source) voidupdateCachedLocations(org.apache.hadoop.hbase.TableName tableName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.HRegionLocation source) Methods inherited from class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
cacheLocation, createAbstractMapRTable, createAbstractMapRTable, createMapRClusterConnection
-
Field Details
-
DEFAULT_CALLBACK_THREADS
public static final int DEFAULT_CALLBACK_THREADS- See Also:
-
-
Constructor Details
-
MapRClusterConnectionImpl
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 IOException - Throws:
IOException
-
-
Method Details
-
getUser
public org.apache.hadoop.hbase.security.User getUser()- Overrides:
getUserin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
abort
- Specified by:
abortin interfaceorg.apache.hadoop.hbase.Abortable- Specified by:
abortin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
isAborted
public boolean isAborted()- Specified by:
isAbortedin interfaceorg.apache.hadoop.hbase.Abortable- Specified by:
isAbortedin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getBMPool
- Specified by:
getBMPoolin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
closein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()- Specified by:
getConfigurationin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getConfigurationin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getConfigurationin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getTableMappingRule
public org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules getTableMappingRule()- Specified by:
getTableMappingRulein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getTable
- Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTable
- Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTable
public org.apache.hadoop.hbase.client.HTableInterface getTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTable
public org.apache.hadoop.hbase.client.HTableInterface getTable(String tableName, ExecutorService pool) throws IOException - Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTable
public org.apache.hadoop.hbase.client.HTableInterface getTable(byte[] tableName, ExecutorService pool) throws IOException - Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTable
public org.apache.hadoop.hbase.client.HTableInterface getTable(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) throws IOException - Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getBufferedMutator
public org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) - Specified by:
getBufferedMutatorin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getBufferedMutatorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getBufferedMutator
public org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getBufferedMutatorin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getBufferedMutatorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getRegionLocator
public org.apache.hadoop.hbase.client.RegionLocator getRegionLocator(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRegionLocatorin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getRegionLocatorin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getRegionLocatorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
createAbstractHBaseAdmin
public org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdmin createAbstractHBaseAdmin() throws IOException- Specified by:
createAbstractHBaseAdminin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getAdmin
- Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getAdminin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isMasterRunning
public boolean isMasterRunning() throws org.apache.hadoop.hbase.MasterNotRunningException, org.apache.hadoop.hbase.ZooKeeperConnectionException- Specified by:
isMasterRunningin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
isMasterRunningin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
isMasterRunningin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
org.apache.hadoop.hbase.MasterNotRunningExceptionorg.apache.hadoop.hbase.ZooKeeperConnectionException
-
isTableEnabled
- Specified by:
isTableEnabledin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableEnabledin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableEnabled
- Specified by:
isTableEnabledin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableEnabledin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableDisabled
- Specified by:
isTableDisabledin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableDisabledin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableDisabled
- Specified by:
isTableDisabledin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableDisabledin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableAvailable
- Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableAvailablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableAvailable
- Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableAvailablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableAvailable
public boolean isTableAvailable(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) throws IOException - Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableAvailablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isTableAvailable
- Specified by:
isTableAvailablein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isTableAvailablein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
listTables
- Specified by:
listTablesin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
listTablesin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getTableNames
- Specified by:
getTableNamesin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getTableNamesin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
listTableNames
- Specified by:
listTableNamesin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
listTableNamesin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getHTableDescriptor
public org.apache.hadoop.hbase.HTableDescriptor getHTableDescriptor(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getHTableDescriptorin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getHTableDescriptorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getHTableDescriptor
public org.apache.hadoop.hbase.HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException - Specified by:
getHTableDescriptorin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getHTableDescriptorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegion
public org.apache.hadoop.hbase.HRegionLocation locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row) throws IOException - Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegion
public org.apache.hadoop.hbase.HRegionLocation locateRegion(byte[] tableName, byte[] row) throws IOException - Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegion
public org.apache.hadoop.hbase.RegionLocations locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) throws IOException - Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
locateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
clearRegionCache
public void clearRegionCache()- Specified by:
clearRegionCachein interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
clearRegionCachein interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
clearRegionCachein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
clearRegionCache
public void clearRegionCache(org.apache.hadoop.hbase.TableName tableName) - Specified by:
clearRegionCachein interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
clearRegionCachein interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
clearRegionCachein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
clearRegionCache
public void clearRegionCache(byte[] tableName) - Specified by:
clearRegionCachein interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
clearRegionCachein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
deleteCachedRegionLocation
public void deleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location) - Specified by:
deleteCachedRegionLocationin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
deleteCachedRegionLocationin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
deleteCachedRegionLocationin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
relocateRegion
public org.apache.hadoop.hbase.HRegionLocation relocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row) throws IOException - Specified by:
relocateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
relocateRegionin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
relocateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
relocateRegion
public org.apache.hadoop.hbase.HRegionLocation relocateRegion(byte[] tableName, byte[] row) throws IOException - Specified by:
relocateRegionin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
relocateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
updateCachedLocations
public void updateCachedLocations(org.apache.hadoop.hbase.TableName tableName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.HRegionLocation source) - Specified by:
updateCachedLocationsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
updateCachedLocationsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
updateCachedLocations
public void updateCachedLocations(org.apache.hadoop.hbase.TableName tableName, byte[] regionName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.ServerName source) - Specified by:
updateCachedLocationsin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
updateCachedLocationsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
updateCachedLocationsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
updateCachedLocations
public void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.HRegionLocation source) - Specified by:
updateCachedLocationsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
updateCachedLocationsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
locateRegion
- Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegions
public List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegions
public List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(byte[] tableName) throws IOException - Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegions
public List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(org.apache.hadoop.hbase.TableName tableName, boolean useCache, boolean offlined) throws IOException - Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegions
public List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(byte[] tableName, boolean useCache, boolean offlined) throws IOException - Specified by:
locateRegionsin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
locateRegionsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
locateRegion
public org.apache.hadoop.hbase.RegionLocations locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) throws IOException - Specified by:
locateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
locateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
relocateRegion
public org.apache.hadoop.hbase.RegionLocations relocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) throws IOException - Specified by:
relocateRegionin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
relocateRegionin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getMaster
public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface getMaster() throws IOException- Specified by:
getMasterin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getMasterin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getMasterin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getAdmin
public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getAdminin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getClient
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient(org.apache.hadoop.hbase.ServerName serverName) throws IOException - Specified by:
getClientin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getClientin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getClientin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getAdmin
public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin(org.apache.hadoop.hbase.ServerName serverName, boolean getMaster) throws IOException - Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getAdminin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getRegionLocation
public org.apache.hadoop.hbase.HRegionLocation getRegionLocation(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean reload) throws IOException - Specified by:
getRegionLocationin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getRegionLocationin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getRegionLocationin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getRegionLocation
public org.apache.hadoop.hbase.HRegionLocation getRegionLocation(byte[] tableName, byte[] row, boolean reload) throws IOException - Specified by:
getRegionLocationin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getRegionLocationin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
processBatch
public void processBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, org.apache.hadoop.hbase.TableName tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException - Specified by:
processBatchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
processBatchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOExceptionInterruptedException
-
processBatch
public void processBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, byte[] tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException - Specified by:
processBatchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
processBatchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOExceptionInterruptedException
-
processBatchCallback
public <R> void processBatchCallback(List<? extends org.apache.hadoop.hbase.client.Row> list, org.apache.hadoop.hbase.TableName tableName, ExecutorService pool, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws IOException, InterruptedException - Specified by:
processBatchCallbackin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
processBatchCallbackin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOExceptionInterruptedException
-
processBatchCallback
public <R> void processBatchCallback(List<? extends org.apache.hadoop.hbase.client.Row> list, byte[] tableName, ExecutorService pool, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws IOException, InterruptedException - Specified by:
processBatchCallbackin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
processBatchCallbackin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOExceptionInterruptedException
-
setRegionCachePrefetch
public void setRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName, boolean enable) - Specified by:
setRegionCachePrefetchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
setRegionCachePrefetchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
setRegionCachePrefetch
public void setRegionCachePrefetch(byte[] tableName, boolean enable) - Specified by:
setRegionCachePrefetchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
setRegionCachePrefetchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getRegionCachePrefetch
public boolean getRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName) - Specified by:
getRegionCachePrefetchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getRegionCachePrefetchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getRegionCachePrefetch
public boolean getRegionCachePrefetch(byte[] tableName) - Specified by:
getRegionCachePrefetchin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getRegionCachePrefetchin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getCurrentNrHRS
- Specified by:
getCurrentNrHRSin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getCurrentNrHRSin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getHTableDescriptorsByTableName
public org.apache.hadoop.hbase.HTableDescriptor[] getHTableDescriptorsByTableName(List<org.apache.hadoop.hbase.TableName> tableNames) throws IOException - Specified by:
getHTableDescriptorsByTableNamein interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getHTableDescriptorsByTableNamein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
getHTableDescriptors
public org.apache.hadoop.hbase.HTableDescriptor[] getHTableDescriptors(List<String> tableNames) throws IOException - Specified by:
getHTableDescriptorsin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
getHTableDescriptorsin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
IOException
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.apache.hadoop.hbase.client.Connection- Specified by:
isClosedin interfaceorg.apache.hadoop.hbase.client.HConnection- Specified by:
isClosedin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
clearCaches
public void clearCaches(org.apache.hadoop.hbase.ServerName sn) - Specified by:
clearCachesin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
clearCachesin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
clearCachesin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getKeepAliveMasterService
public org.apache.hadoop.hbase.client.MasterKeepAliveConnection getKeepAliveMasterService() throws org.apache.hadoop.hbase.MasterNotRunningException- Specified by:
getKeepAliveMasterServicein interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getKeepAliveMasterServicein interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getKeepAliveMasterServicein classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection- Throws:
org.apache.hadoop.hbase.MasterNotRunningException
-
isDeadServer
public boolean isDeadServer(org.apache.hadoop.hbase.ServerName serverName) - Specified by:
isDeadServerin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
isDeadServerin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
isDeadServerin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getNonceGenerator
public org.apache.hadoop.hbase.client.NonceGenerator getNonceGenerator()- Specified by:
getNonceGeneratorin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
getNonceGeneratorin interfaceorg.apache.hadoop.hbase.client.HConnection- Overrides:
getNonceGeneratorin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getAsyncProcess
public org.apache.hadoop.hbase.client.AsyncProcess getAsyncProcess()- Specified by:
getAsyncProcessin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
getAsyncProcessin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getNewRpcRetryingCallerFactory
public org.apache.hadoop.hbase.client.RpcRetryingCallerFactory getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf) - Specified by:
getNewRpcRetryingCallerFactoryin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
getNewRpcRetryingCallerFactoryin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
isManaged
public boolean isManaged()- Specified by:
isManagedin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Specified by:
isManagedin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getStatisticsTracker
public org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker()- Specified by:
getStatisticsTrackerin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
getStatisticsTrackerin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getBackoffPolicy
public org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy()- Specified by:
getBackoffPolicyin interfaceorg.apache.hadoop.hbase.client.ClusterConnection- Overrides:
getBackoffPolicyin classorg.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
-
getRpcRetryingCallerFactory
public org.apache.hadoop.hbase.client.RpcRetryingCallerFactory getRpcRetryingCallerFactory() -
getRpcControllerFactory
public org.apache.hadoop.hbase.ipc.RpcControllerFactory getRpcControllerFactory() -
getConnectionConfiguration
public org.apache.hadoop.hbase.client.ConnectionConfiguration getConnectionConfiguration() -
getConnectionMetrics
public org.apache.hadoop.hbase.client.MetricsConnection getConnectionMetrics() -
hasCellBlockSupport
public boolean hasCellBlockSupport()
-