Uses of Class
org.apache.accumulo.core.clientImpl.ClientContext
-
-
Uses of ClientContext in org.apache.accumulo.core.clientImpl
Methods in org.apache.accumulo.core.clientImpl with parameters of type ClientContext Modifier and Type Method Description protected TabletLocator.TabletLocation
TabletLocatorImpl. _locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry, boolean lock, org.apache.accumulo.core.clientImpl.TabletLocatorImpl.LockCheckerSession lcSession)
<T extends Mutation>
voidRootTabletLocator. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
<T extends Mutation>
voidSyncingTabletLocator. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
abstract <T extends Mutation>
voidTabletLocator. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
<T extends Mutation>
voidTabletLocatorImpl. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
<T extends Mutation>
voidTimeoutTabletLocator. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
List<Range>
RootTabletLocator. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
List<Range>
SyncingTabletLocator. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
abstract List<Range>
TabletLocator. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
List<Range>
TabletLocatorImpl. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
List<Range>
TimeoutTabletLocator. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
static void
TabletServerBatchReaderIterator. doLookup(ClientContext context, String server, Map<KeyExtent,List<Range>> requested, Map<KeyExtent,List<Range>> failures, Map<KeyExtent,List<Range>> unscanned, TabletServerBatchReaderIterator.ResultReceiver receiver, List<Column> columns, ScannerOptions options, Authorizations authorizations)
static boolean
Namespaces. exists(ClientContext context, NamespaceId namespaceId)
static org.apache.hadoop.fs.Path
TableOperationsImpl. findExportFile(ClientContext context, Set<String> importDirs)
Search multiple directories for exportMetadata.zip, the control file used for the importable command.static boolean
ThriftScanner. getBatchFromServer(ClientContext context, Range range, KeyExtent extent, String server, SortedMap<Key,Value> results, SortedSet<Column> fetchedColumns, List<IterInfo> serverSideIteratorList, Map<String,Map<String,String>> serverSideIteratorOptions, int size, Authorizations authorizations, long batchTimeOut, String classLoaderContext)
static SortedMap<NamespaceId,String>
Namespaces. getIdToNameMap(ClientContext context)
Return sorted map with key = ID, value = namespaceNamestatic TabletLocator
TabletLocator. getLocator(ClientContext context, TableId tableId)
static NamespaceId
Namespaces. getNamespaceId(ClientContext context, String namespaceName)
Look for namespace ID in ZK.static String
Namespaces. getNamespaceName(ClientContext context, NamespaceId namespaceId)
Look for namespace name in ZK.static SortedMap<String,NamespaceId>
Namespaces. getNameToIdMap(ClientContext context)
Return sorted map with key = namespaceName, value = IDprotected TabletLocator.TabletLocation
RootTabletLocator. getRootTabletLocation(ClientContext context)
static List<TableId>
Namespaces. getTableIds(ClientContext context, NamespaceId namespaceId)
static List<String>
Namespaces. getTableNames(ClientContext context, NamespaceId namespaceId)
org.apache.thrift.transport.TTransport
ThriftTransportPool. getTransport(com.google.common.net.HostAndPort location, long milliseconds, ClientContext context)
void
RootTabletLocator. invalidateCache(ClientContext context, String server)
void
SyncingTabletLocator. invalidateCache(ClientContext context, String server)
abstract void
TabletLocator. invalidateCache(ClientContext context, String server)
Invalidate all metadata entries that point to servervoid
TabletLocatorImpl. invalidateCache(ClientContext context, String server)
TabletLocator.TabletLocation
RootTabletLocator. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
TabletLocator.TabletLocation
SyncingTabletLocator. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
abstract TabletLocator.TabletLocation
TabletLocator. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
TabletLocator.TabletLocation
TabletLocatorImpl. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
TabletLocator.TabletLocation
TimeoutTabletLocator. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
static NamespaceId
Namespaces. lookupNamespaceId(ClientContext context, String namespaceName)
Look for namespace ID in ZK.TabletLocator.TabletLocations
TabletLocatorImpl.TabletLocationObtainer. lookupTablet(ClientContext context, TabletLocator.TabletLocation src, org.apache.hadoop.io.Text row, org.apache.hadoop.io.Text stopRow, TabletLocator parent)
List<TabletLocator.TabletLocation>
TabletLocatorImpl.TabletLocationObtainer. lookupTablets(ClientContext context, String tserver, Map<KeyExtent,List<Range>> map, TabletLocator parent)
static boolean
Namespaces. namespaceNameExists(ClientContext context, String namespaceName)
Return true if namespace name existsstatic List<KeyValue>
ThriftScanner. scan(ClientContext context, ThriftScanner.ScanState scanState, long timeOut)
Constructors in org.apache.accumulo.core.clientImpl with parameters of type ClientContext Constructor Description BatchWriterImpl(ClientContext context, TableId tableId, BatchWriterConfig config)
ClientServiceEnvironmentImpl(ClientContext context)
InstanceOperationsImpl(ClientContext context)
NamespaceOperationsImpl(ClientContext context, TableOperationsImpl tableOps)
OfflineScanner(ClientContext context, TableId tableId, Authorizations authorizations)
ScannerImpl(ClientContext context, TableId tableId, Authorizations authorizations)
ScanState(ClientContext context, TableId tableId, Authorizations authorizations, Range range, SortedSet<Column> fetchedColumns, int size, List<IterInfo> serverSideIteratorList, Map<String,Map<String,String>> serverSideIteratorOptions, boolean isolated, long readaheadThreshold, SamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints, boolean useScanServer)
SecurityOperationsImpl(ClientContext context)
SyncingTabletLocator(ClientContext context, TableId tableId)
TableOperationsImpl(ClientContext context)
TabletServerBatchDeleter(ClientContext context, TableId tableId, String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig bwConfig)
TabletServerBatchReader(ClientContext context, Class<?> scopeClass, TableId tableId, String tableName, Authorizations authorizations, int numQueryThreads)
TabletServerBatchReader(ClientContext context, TableId tableId, String tableName, Authorizations authorizations, int numQueryThreads)
TabletServerBatchReaderIterator(ClientContext context, TableId tableId, String tableName, Authorizations authorizations, ArrayList<Range> ranges, int numThreads, ExecutorService queryThreadPool, ScannerOptions scannerOptions, long retryTimeout)
TabletServerBatchWriter(ClientContext context, BatchWriterConfig config)
ThriftTransportKey(com.google.common.net.HostAndPort server, long timeout, ClientContext context)
TimeoutTabletLocator(long timeout, ClientContext context, TableId table)
Writer(ClientContext context, TableId tableId)
-
Uses of ClientContext in org.apache.accumulo.core.clientImpl.bulk
Methods in org.apache.accumulo.core.clientImpl.bulk with parameters of type ClientContext Modifier and Type Method Description SortedMap<KeyExtent,Bulk.Files>
BulkImport. computeFileToTabletMappings(org.apache.hadoop.fs.FileSystem fs, TableId tableId, Map<String,String> tableProps, org.apache.hadoop.fs.Path dirPath, Executor executor, ClientContext context, int maxTablets)
static List<KeyExtent>
BulkImport. findOverlappingTablets(ClientContext context, BulkImport.KeyExtentCache extentCache, UnreferencedTabletFile file, org.apache.hadoop.fs.FileSystem fs, com.github.benmanes.caffeine.cache.Cache<String,Long> fileLenCache, CryptoService cs)
Constructors in org.apache.accumulo.core.clientImpl.bulk with parameters of type ClientContext Constructor Description BulkImport(String directory, ClientContext context)
-
Uses of ClientContext in org.apache.accumulo.core.metadata
Methods in org.apache.accumulo.core.metadata with parameters of type ClientContext Modifier and Type Method Description static MetadataServicer
MetadataServicer. forTableId(ClientContext context, TableId tableId)
static MetadataServicer
MetadataServicer. forTableName(ClientContext context, String tableName)
TabletLocator.TabletLocations
MetadataLocationObtainer. lookupTablet(ClientContext context, TabletLocator.TabletLocation src, org.apache.hadoop.io.Text row, org.apache.hadoop.io.Text stopRow, TabletLocator parent)
List<TabletLocator.TabletLocation>
MetadataLocationObtainer. lookupTablets(ClientContext context, String tserver, Map<KeyExtent,List<Range>> tabletsRanges, TabletLocator parent)
-
Uses of ClientContext in org.apache.accumulo.core.metadata.schema
Methods in org.apache.accumulo.core.metadata.schema with parameters of type ClientContext Modifier and Type Method Description static Set<TServerInstance>
TabletMetadata. getLiveTServers(ClientContext context)
Get the tservers that are live from ZK. -
Uses of ClientContext in org.apache.accumulo.core.rpc
Methods in org.apache.accumulo.core.rpc with parameters of type ClientContext Modifier and Type Method Description static void
ThriftUtil. close(org.apache.thrift.TServiceClient client, ClientContext context)
static org.apache.thrift.transport.TTransport
ThriftUtil. createTransport(com.google.common.net.HostAndPort address, ClientContext context)
Create a transport that is not pooledstatic <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClient(ThriftClientTypes<T> type, com.google.common.net.HostAndPort address, ClientContext context)
Create a Thrift client using the given factory with a pooled transport (if available), the address and client context.static <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClient(ThriftClientTypes<T> type, com.google.common.net.HostAndPort address, ClientContext context, long timeout)
Create a Thrift client using the given factory with a pooled transport (if available) using the address, client context and timeoutstatic <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClientNoTimeout(ThriftClientTypes<T> type, com.google.common.net.HostAndPort address, ClientContext context)
Create a Thrift client using the given factory with a pooled transport (if available), the address, and client context with no timeout.static void
ThriftUtil. returnClient(org.apache.thrift.TServiceClient iface, ClientContext context)
Return the transport used by the client to the shared pool. -
Uses of ClientContext in org.apache.accumulo.core.rpc.clients
-
Uses of ClientContext in org.apache.accumulo.core.summary
Constructors in org.apache.accumulo.core.summary with parameters of type ClientContext Constructor Description Gatherer(ClientContext context, TSummaryRequest request, AccumuloConfiguration tableConfig, CryptoService cryptoService)
-
Uses of ClientContext in org.apache.accumulo.core.util
Methods in org.apache.accumulo.core.util with parameters of type ClientContext Modifier and Type Method Description static String
MonitorUtil. getLocation(ClientContext context)
-
Uses of ClientContext in org.apache.accumulo.core.util.compaction
Methods in org.apache.accumulo.core.util.compaction with parameters of type ClientContext Modifier and Type Method Description static void
ExternalCompactionUtil. cancelCompaction(ClientContext context, com.google.common.net.HostAndPort compactorAddr, String ecid)
static int
ExternalCompactionUtil. countCompactors(String queueName, ClientContext context)
static Optional<com.google.common.net.HostAndPort>
ExternalCompactionUtil. findCompactionCoordinator(ClientContext context)
static List<ActiveCompaction>
ExternalCompactionUtil. getActiveCompaction(com.google.common.net.HostAndPort compactor, ClientContext context)
static Collection<ExternalCompactionId>
ExternalCompactionUtil. getCompactionIdsRunningOnCompactors(ClientContext context)
static List<RunningCompaction>
ExternalCompactionUtil. getCompactionsRunningOnCompactors(ClientContext context)
This method returns information from the Compactor about the job that is currently running.static Map<String,List<com.google.common.net.HostAndPort>>
ExternalCompactionUtil. getCompactorAddrs(ClientContext context)
static TExternalCompactionJob
ExternalCompactionUtil. getRunningCompaction(com.google.common.net.HostAndPort compactorAddr, ClientContext context)
Get the compaction currently running on the Compactor -
Uses of ClientContext in org.apache.accumulo.core.util.tables
Constructors in org.apache.accumulo.core.util.tables with parameters of type ClientContext Constructor Description TableMap(ClientContext context)
TableZooHelper(ClientContext context)
-