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 Summary
-
Constructor Summary
ConstructorDescriptionConfigurationCaptorConnection
(org.apache.hadoop.conf.Configuration conf, ExecutorService es, org.apache.hadoop.hbase.security.User user, Map<String, byte[]> connectionAttributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
close()
(package private) static UUID
configureConnectionImpl
(org.apache.hadoop.conf.Configuration conf) org.apache.hadoop.hbase.client.Admin
getAdmin()
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) (package private) static List<org.apache.hadoop.conf.Configuration>
org.apache.hadoop.conf.Configuration
org.apache.hadoop.hbase.client.Hbck
getHbck()
org.apache.hadoop.hbase.client.Hbck
getHbck
(org.apache.hadoop.hbase.ServerName masterServer) org.apache.hadoop.hbase.client.RegionLocator
getRegionLocator
(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.Table
getTable
(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.Table
getTable
(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) org.apache.hadoop.hbase.client.TableBuilder
getTableBuilder
(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) boolean
boolean
isClosed()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.Abortable
abort
-
Field Details
-
UUID_KEY
- See Also:
-
confs
-
delegate
-
-
Constructor Details
-
ConfigurationCaptorConnection
public ConfigurationCaptorConnection(org.apache.hadoop.conf.Configuration conf, ExecutorService es, org.apache.hadoop.hbase.security.User user, Map<String, byte[]> connectionAttributes) throws IOException- Throws:
IOException
-
-
Method Details
-
configureConnectionImpl
-
getCapturedConfigarutions
-
getConfiguration
- Specified by:
getConfiguration
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.apache.hadoop.hbase.client.Connection
- Throws:
IOException
-
clearRegionLocationCache
- Specified by:
clearRegionLocationCache
in interfaceorg.apache.hadoop.hbase.client.Connection
-
getAdmin
- Specified by:
getAdmin
in interfaceorg.apache.hadoop.hbase.client.Connection
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.hadoop.hbase.client.Connection
- Throws:
IOException
-
isClosed
- Specified by:
isClosed
in interfaceorg.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 interfaceorg.apache.hadoop.hbase.client.Connection
-
getHbck
- Specified by:
getHbck
in interfaceorg.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 interfaceorg.apache.hadoop.hbase.client.Connection
- Throws:
IOException
-
abort
- Specified by:
abort
in interfaceorg.apache.hadoop.hbase.Abortable
-
isAborted
- Specified by:
isAborted
in interfaceorg.apache.hadoop.hbase.Abortable
-
getClusterId
- Specified by:
getClusterId
in interfaceorg.apache.hadoop.hbase.client.Connection
-