Class TestHFileOutputFormat2.ConfigurationCaptorConnection

java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2.ConfigurationCaptorConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.hbase.Abortable, org.apache.hadoop.hbase.client.Connection
Enclosing class:
TestHFileOutputFormat2

private static class TestHFileOutputFormat2.ConfigurationCaptorConnection extends Object implements org.apache.hadoop.hbase.client.Connection
  • Field Details

  • Constructor Details

  • Method Details

    • configureConnectionImpl

      static UUID configureConnectionImpl(org.apache.hadoop.conf.Configuration conf)
    • getCapturedConfigarutions

      static List<org.apache.hadoop.conf.Configuration> getCapturedConfigarutions(UUID key)
    • getConfiguration

      public org.apache.hadoop.conf.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface org.apache.hadoop.hbase.client.Connection
    • getTable

      public org.apache.hadoop.hbase.client.Table getTable(org.apache.hadoop.hbase.TableName tableName) throws IOException
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.Connection
      Throws:
      IOException
    • getTable

      public org.apache.hadoop.hbase.client.Table getTable(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) throws IOException
      Specified by:
      getTable in interface org.apache.hadoop.hbase.client.Connection
      Throws:
      IOException
    • 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
      Throws:
      IOException
    • getBufferedMutator

      public org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) throws IOException
      Specified by:
      getBufferedMutator in interface org.apache.hadoop.hbase.client.Connection
      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
      Throws:
      IOException
    • clearRegionLocationCache

      public void clearRegionLocationCache()
      Specified by:
      clearRegionLocationCache in interface org.apache.hadoop.hbase.client.Connection
    • getAdmin

      public org.apache.hadoop.hbase.client.Admin getAdmin() throws IOException
      Specified by:
      getAdmin in interface org.apache.hadoop.hbase.client.Connection
      Throws:
      IOException
    • 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
      Throws:
      IOException
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.apache.hadoop.hbase.client.Connection
    • getTableBuilder

      public org.apache.hadoop.hbase.client.TableBuilder getTableBuilder(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool)
      Specified by:
      getTableBuilder in interface org.apache.hadoop.hbase.client.Connection
    • toAsyncConnection

      public org.apache.hadoop.hbase.client.AsyncConnection toAsyncConnection()
      Specified by:
      toAsyncConnection in interface org.apache.hadoop.hbase.client.Connection
    • getClusterId

      public String getClusterId()
      Specified by:
      getClusterId in interface org.apache.hadoop.hbase.client.Connection
    • getHbck

      public org.apache.hadoop.hbase.client.Hbck getHbck() throws IOException
      Specified by:
      getHbck in interface org.apache.hadoop.hbase.client.Connection
      Throws:
      IOException
    • getHbck

      public org.apache.hadoop.hbase.client.Hbck getHbck(org.apache.hadoop.hbase.ServerName masterServer) throws IOException
      Specified by:
      getHbck in interface org.apache.hadoop.hbase.client.Connection
      Throws:
      IOException
    • abort

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

      public boolean isAborted()
      Specified by:
      isAborted in interface org.apache.hadoop.hbase.Abortable