static class ConnectionUtils.MasterlessConnection extends ConnectionImplementation
ConnectionImplementation.MasterServiceState, ConnectionImplementation.ServerErrorTracker
clusterId, clusterStatusListener, masterServiceState, RETRIES_BY_SERVER_KEY, rpcTimeout, user
HBASE_CLIENT_CONNECTION_IMPL
Constructor and Description |
---|
MasterlessConnection(org.apache.hadoop.conf.Configuration conf,
ExecutorService pool,
User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTableDisabled(TableName tableName) |
abort, cacheLocation, clearCaches, clearRegionCache, clearRegionCache, clearRegionLocationCache, close, deleteCachedRegionLocation, finalize, getAdmin, getAdmin, getAdminForMaster, getAsyncProcess, getBackoffPolicy, getBufferedMutator, getBufferedMutator, getCachedLocation, getClient, getConfiguration, getConnectionConfiguration, getConnectionMetrics, getCurrentBatchPool, getCurrentMetaLookupPool, getHbck, getHbck, getMaster, getNewRpcRetryingCallerFactory, getNonceGenerator, getNumberOfCachedRegionLocations, getRegionLocation, getRegionLocator, getRpcClient, getRpcControllerFactory, getRpcRetryingCallerFactory, getStatisticsTracker, getTable, getTableBuilder, getTableState, hasCellBlockSupport, injectNonceGeneratorForTesting, isAborted, isClosed, isMasterRunning, isTableAvailable, isTableEnabled, locateRegion, locateRegion, locateRegion, locateRegion, locateRegions, locateRegions, releaseMaster, relocateRegion, relocateRegion, retrieveClusterId, setUseMetaReplicas, toString, updateCachedLocation, updateCachedLocations
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearRegionCache
getTable
MasterlessConnection(org.apache.hadoop.conf.Configuration conf, ExecutorService pool, User user) throws IOException
IOException
public boolean isTableDisabled(TableName tableName) throws IOException
isTableDisabled
in interface ClusterConnection
isTableDisabled
in class ConnectionImplementation
tableName
- table nameIOException
- if a remote or network exception occursCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.