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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from interface org.apache.hadoop.hbase.client.HConnection

    HBASE_CLIENT_CONNECTION_IMPL
  • Constructor Summary

    Constructors
    Constructor
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    clearCaches(org.apache.hadoop.hbase.ServerName sn)
     
    void
     
    void
    clearRegionCache(byte[] tableName)
     
    void
    clearRegionCache(org.apache.hadoop.hbase.TableName tableName)
     
    void
     
    org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdmin
     
    void
    deleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location)
     
    org.apache.hadoop.hbase.client.Admin
     
    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
     
    org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
     
     
    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
     
    org.apache.hadoop.hbase.client.ConnectionConfiguration
     
    org.apache.hadoop.hbase.client.MetricsConnection
     
    int
     
    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[]
     
    org.apache.hadoop.hbase.HTableDescriptor[]
    getHTableDescriptorsByTableName(List<org.apache.hadoop.hbase.TableName> tableNames)
     
    org.apache.hadoop.hbase.client.MasterKeepAliveConnection
     
    org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface
     
    org.apache.hadoop.hbase.client.RpcRetryingCallerFactory
    getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)
     
    org.apache.hadoop.hbase.client.NonceGenerator
     
    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.ipc.RpcControllerFactory
     
    org.apache.hadoop.hbase.client.RpcRetryingCallerFactory
     
    org.apache.hadoop.hbase.client.ServerStatisticTracker
     
    org.apache.hadoop.hbase.client.HTableInterface
    getTable(byte[] tableName)
     
    org.apache.hadoop.hbase.client.HTableInterface
    getTable(byte[] tableName, ExecutorService pool)
     
    org.apache.hadoop.hbase.client.HTableInterface
    getTable(String tableName)
     
    org.apache.hadoop.hbase.client.HTableInterface
    getTable(String tableName, 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, ExecutorService pool)
     
    org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules
     
     
    org.apache.hadoop.hbase.security.User
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    isDeadServer(org.apache.hadoop.hbase.ServerName serverName)
     
    boolean
     
    boolean
     
    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[]
     
    org.apache.hadoop.hbase.HTableDescriptor[]
     
    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)
     
    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)
     
    void
    processBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, byte[] tableName, ExecutorService pool, Object[] results)
     
    void
    processBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, org.apache.hadoop.hbase.TableName tableName, ExecutorService pool, Object[] results)
     
    <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)
     
    <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)
     
    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, Object exception, org.apache.hadoop.hbase.HRegionLocation source)
     
    void
    updateCachedLocations(org.apache.hadoop.hbase.TableName tableName, byte[] regionName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.ServerName source)
     
    void
    updateCachedLocations(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getUser in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • abort

      public void abort(String why, Throwable e)
      Specified by:
      abort in interface org.apache.hadoop.hbase.Abortable
      Specified by:
      abort in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • isAborted

      public boolean isAborted()
      Specified by:
      isAborted in interface org.apache.hadoop.hbase.Abortable
      Specified by:
      isAborted in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getBMPool

      public ThreadPoolExecutor getBMPool()
      Specified by:
      getBMPool in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      close in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getConfiguration

      public org.apache.hadoop.conf.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getConfiguration in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getConfiguration in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getTableMappingRule

      public org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules getTableMappingRule()
      Specified by:
      getTableMappingRule in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getTable

      public org.apache.hadoop.hbase.client.HTableInterface getTable(String tableName) throws IOException
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getTable

      public org.apache.hadoop.hbase.client.HTableInterface getTable(byte[] tableName) throws IOException
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.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:
      getTable in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.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:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.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:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.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:
      getTable in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTable in class org.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:
      getBufferedMutator in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getBufferedMutator in class org.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:
      getBufferedMutator in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getBufferedMutator in class org.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:
      getRegionLocator in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getRegionLocator in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getRegionLocator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • createAbstractHBaseAdmin

      public org.apache.hadoop.hbase.client.mapr.AbstractHBaseAdmin createAbstractHBaseAdmin() throws IOException
      Specified by:
      createAbstractHBaseAdmin in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getAdmin

      public org.apache.hadoop.hbase.client.Admin getAdmin() throws IOException
      Specified by:
      getAdmin in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      getAdmin in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getAdmin in class org.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:
      isMasterRunning in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      isMasterRunning in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      isMasterRunning in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      org.apache.hadoop.hbase.MasterNotRunningException
      org.apache.hadoop.hbase.ZooKeeperConnectionException
    • isTableEnabled

      public boolean isTableEnabled(org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      isTableEnabled in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableEnabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableEnabled

      public boolean isTableEnabled(byte[] tableName) throws IOException
      Specified by:
      isTableEnabled in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableEnabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableDisabled

      public boolean isTableDisabled(org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      isTableDisabled in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableDisabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableDisabled

      public boolean isTableDisabled(byte[] tableName) throws IOException
      Specified by:
      isTableDisabled in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableDisabled in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableAvailable

      public boolean isTableAvailable(org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      isTableAvailable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableAvailable

      public boolean isTableAvailable(byte[] tableName) throws IOException
      Specified by:
      isTableAvailable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableAvailable

      public boolean isTableAvailable(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) throws IOException
      Specified by:
      isTableAvailable in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      isTableAvailable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isTableAvailable

      public boolean isTableAvailable(byte[] tableName, byte[][] splitKeys) throws IOException
      Specified by:
      isTableAvailable in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isTableAvailable in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • listTables

      public org.apache.hadoop.hbase.HTableDescriptor[] listTables() throws IOException
      Specified by:
      listTables in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      listTables in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getTableNames

      public String[] getTableNames() throws IOException
      Specified by:
      getTableNames in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getTableNames in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • listTableNames

      public org.apache.hadoop.hbase.TableName[] listTableNames() throws IOException
      Specified by:
      listTableNames in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      listTableNames in class org.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:
      getHTableDescriptor in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getHTableDescriptor in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getHTableDescriptor

      public org.apache.hadoop.hbase.HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException
      Specified by:
      getHTableDescriptor in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getHTableDescriptor in class org.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:
      locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      locateRegion in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • locateRegion

      public org.apache.hadoop.hbase.HRegionLocation locateRegion(byte[] tableName, byte[] row) throws IOException
      Specified by:
      locateRegion in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegion in class org.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:
      locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      locateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • clearRegionCache

      public void clearRegionCache()
      Specified by:
      clearRegionCache in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      clearRegionCache in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      clearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • clearRegionCache

      public void clearRegionCache(org.apache.hadoop.hbase.TableName tableName)
      Specified by:
      clearRegionCache in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      clearRegionCache in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      clearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • clearRegionCache

      public void clearRegionCache(byte[] tableName)
      Specified by:
      clearRegionCache in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      clearRegionCache in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • deleteCachedRegionLocation

      public void deleteCachedRegionLocation(org.apache.hadoop.hbase.HRegionLocation location)
      Specified by:
      deleteCachedRegionLocation in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      deleteCachedRegionLocation in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      deleteCachedRegionLocation in class org.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:
      relocateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      relocateRegion in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      relocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • relocateRegion

      public org.apache.hadoop.hbase.HRegionLocation relocateRegion(byte[] tableName, byte[] row) throws IOException
      Specified by:
      relocateRegion in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      relocateRegion in class org.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:
      updateCachedLocations in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      updateCachedLocations in class org.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:
      updateCachedLocations in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      updateCachedLocations in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      updateCachedLocations in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • updateCachedLocations

      public void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, org.apache.hadoop.hbase.HRegionLocation source)
      Specified by:
      updateCachedLocations in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      updateCachedLocations in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • locateRegion

      public org.apache.hadoop.hbase.HRegionLocation locateRegion(byte[] regionName) throws IOException
      Specified by:
      locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      locateRegion in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegion in class org.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:
      locateRegions in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      locateRegions in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegions in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • locateRegions

      public List<org.apache.hadoop.hbase.HRegionLocation> locateRegions(byte[] tableName) throws IOException
      Specified by:
      locateRegions in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegions in class org.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:
      locateRegions in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      locateRegions in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegions in class org.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:
      locateRegions in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      locateRegions in class org.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:
      locateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      locateRegion in class org.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:
      relocateRegion in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      relocateRegion in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getMaster

      public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface getMaster() throws IOException
      Specified by:
      getMaster in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getMaster in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getMaster in class org.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:
      getAdmin in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getAdmin in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getAdmin in class org.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:
      getClient in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getClient in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getClient in class org.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:
      getAdmin in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getAdmin in class org.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:
      getRegionLocation in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getRegionLocation in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getRegionLocation in class org.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:
      getRegionLocation in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getRegionLocation in class org.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:
      processBatch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      processBatch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
      InterruptedException
    • processBatch

      public void processBatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, byte[] tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException
      Specified by:
      processBatch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      processBatch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
      InterruptedException
    • 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:
      processBatchCallback in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      processBatchCallback in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
      InterruptedException
    • 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:
      processBatchCallback in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      processBatchCallback in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
      InterruptedException
    • setRegionCachePrefetch

      public void setRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName, boolean enable)
      Specified by:
      setRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      setRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • setRegionCachePrefetch

      public void setRegionCachePrefetch(byte[] tableName, boolean enable)
      Specified by:
      setRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      setRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getRegionCachePrefetch

      public boolean getRegionCachePrefetch(org.apache.hadoop.hbase.TableName tableName)
      Specified by:
      getRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getRegionCachePrefetch

      public boolean getRegionCachePrefetch(byte[] tableName)
      Specified by:
      getRegionCachePrefetch in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getRegionCachePrefetch in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getCurrentNrHRS

      public int getCurrentNrHRS() throws IOException
      Specified by:
      getCurrentNrHRS in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getCurrentNrHRS in class org.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:
      getHTableDescriptorsByTableName in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getHTableDescriptorsByTableName in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • getHTableDescriptors

      public org.apache.hadoop.hbase.HTableDescriptor[] getHTableDescriptors(List<String> tableNames) throws IOException
      Specified by:
      getHTableDescriptors in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      getHTableDescriptors in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      IOException
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.apache.hadoop.hbase.client.Connection
      Specified by:
      isClosed in interface org.apache.hadoop.hbase.client.HConnection
      Specified by:
      isClosed in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • clearCaches

      public void clearCaches(org.apache.hadoop.hbase.ServerName sn)
      Specified by:
      clearCaches in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      clearCaches in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      clearCaches in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getKeepAliveMasterService

      public org.apache.hadoop.hbase.client.MasterKeepAliveConnection getKeepAliveMasterService() throws org.apache.hadoop.hbase.MasterNotRunningException
      Specified by:
      getKeepAliveMasterService in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getKeepAliveMasterService in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getKeepAliveMasterService in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
      Throws:
      org.apache.hadoop.hbase.MasterNotRunningException
    • isDeadServer

      public boolean isDeadServer(org.apache.hadoop.hbase.ServerName serverName)
      Specified by:
      isDeadServer in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      isDeadServer in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      isDeadServer in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getNonceGenerator

      public org.apache.hadoop.hbase.client.NonceGenerator getNonceGenerator()
      Specified by:
      getNonceGenerator in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      getNonceGenerator in interface org.apache.hadoop.hbase.client.HConnection
      Overrides:
      getNonceGenerator in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getAsyncProcess

      public org.apache.hadoop.hbase.client.AsyncProcess getAsyncProcess()
      Specified by:
      getAsyncProcess in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      getAsyncProcess in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getNewRpcRetryingCallerFactory

      public org.apache.hadoop.hbase.client.RpcRetryingCallerFactory getNewRpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)
      Specified by:
      getNewRpcRetryingCallerFactory in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      getNewRpcRetryingCallerFactory in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • isManaged

      public boolean isManaged()
      Specified by:
      isManaged in interface org.apache.hadoop.hbase.client.ClusterConnection
      Specified by:
      isManaged in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getStatisticsTracker

      public org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker()
      Specified by:
      getStatisticsTracker in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      getStatisticsTracker in class org.apache.hadoop.hbase.client.mapr.AbstractMapRClusterConnection
    • getBackoffPolicy

      public org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy()
      Specified by:
      getBackoffPolicy in interface org.apache.hadoop.hbase.client.ClusterConnection
      Overrides:
      getBackoffPolicy in class org.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()