Uses of Class
org.apache.accumulo.core.client.TableNotFoundException
-
Packages that use TableNotFoundException Package Description org.apache.accumulo.core.client org.apache.accumulo.core.client.admin org.apache.accumulo.core.client.impl org.apache.accumulo.core.client.mapred org.apache.accumulo.core.client.mapreduce org.apache.accumulo.core.client.mapreduce.lib.impl This package exists to store common helpers for configuring MapReduce jobs in a single location.org.apache.accumulo.core.client.mapreduce.lib.util org.apache.accumulo.core.client.mock Mock framework for Accumuloorg.apache.accumulo.core.client.mock.impl org.apache.accumulo.core.conf org.apache.accumulo.core.metadata -
-
Uses of TableNotFoundException in org.apache.accumulo.core.client
Methods in org.apache.accumulo.core.client that throw TableNotFoundException Modifier and Type Method Description abstract BatchDeleter
Connector. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.since 1.5.0; UseConnector.createBatchDeleter(String, Authorizations, int, BatchWriterConfig)
instead.abstract BatchDeleter
Connector. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig config)
abstract BatchScanner
Connector. createBatchScanner(String tableName, Authorizations authorizations, int numQueryThreads)
Factory method to create a BatchScanner connected to Accumulo.abstract BatchWriter
Connector. createBatchWriter(String tableName, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.since 1.5.0; UseConnector.createBatchWriter(String, BatchWriterConfig)
instead.abstract BatchWriter
Connector. createBatchWriter(String tableName, BatchWriterConfig config)
Factory method to create a BatchWriter connected to Accumulo.abstract ConditionalWriter
Connector. createConditionalWriter(String tableName, ConditionalWriterConfig config)
Factory method to create a ConditionalWriter connected to Accumulo.abstract Scanner
Connector. createScanner(String tableName, Authorizations authorizations)
Factory method to create a Scanner connected to Accumulo.void
BatchDeleter. delete()
Deletes the ranges specified byBatchDeleter.setRanges(java.util.Collection<org.apache.accumulo.core.data.Range>)
.BatchWriter
MultiTableBatchWriter. getBatchWriter(String table)
Returns a BatchWriter for a particular table. -
Uses of TableNotFoundException in org.apache.accumulo.core.client.admin
Methods in org.apache.accumulo.core.client.admin that throw TableNotFoundException Modifier and Type Method Description int
TableOperations. addConstraint(String tableName, String constraintClassName)
Add a new constraint to a table.void
TableOperations. addSplits(String tableName, SortedSet<org.apache.hadoop.io.Text> partitionKeys)
Ensures that tablets are split along a set of keys.void
TableOperations. attachIterator(String tableName, IteratorSetting setting)
Add an iterator to a table on all scopes.void
TableOperations. attachIterator(String tableName, IteratorSetting setting, EnumSet<IteratorUtil.IteratorScope> scopes)
Add an iterator to a table on the given scopes.void
TableOperations. cancelCompaction(String tableName)
Cancels a user initiated major compaction of a table initiated withTableOperations.compact(String, Text, Text, boolean, boolean)
orTableOperations.compact(String, Text, Text, List, boolean, boolean)
.void
TableOperations. checkIteratorConflicts(String tableName, IteratorSetting setting, EnumSet<IteratorUtil.IteratorScope> scopes)
Check whether a given iterator configuration conflicts with existing configuration; in particular, determine if the name or priority are already in use for the specified scopes.void
TableOperations. clearLocatorCache(String tableName)
Clears the tablet locator cache for a specified tablevoid
TableOperations. clearSamplerConfiguration(String tableName)
Clear all sampling configuration properties on the table.void
TableOperations. clone(String srcTableName, String newTableName, boolean flush, Map<String,String> propertiesToSet, Set<String> propertiesToExclude)
Clone a table from an existing table.void
TableOperations. clone(String srcTableName, String newTableName, CloneConfiguration config)
Clone a table from an existing table.void
TableOperations. compact(String tableName, CompactionConfig config)
Starts a full major compaction of the tablets in the range (start, end].void
TableOperations. compact(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, boolean flush, boolean wait)
Starts a full major compaction of the tablets in the range (start, end].void
TableOperations. compact(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, List<IteratorSetting> iterators, boolean flush, boolean wait)
Starts a full major compaction of the tablets in the range (start, end].void
TableOperations. delete(String tableName)
Delete a tablevoid
TableOperations. deleteRows(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
Delete rows between (start, end]void
ReplicationOperations. drain(String tableName)
Waits for a table to be fully replicated, given the state of files pending replication for the provided table at the point in time which this method is invoked.void
ReplicationOperations. drain(String tableName, Set<String> files)
Given the provided set of files that are pending replication for a table, wait for those files to be fully replicated to all configured peers.void
TableOperations. exportTable(String tableName, String exportDir)
Exports a table.static org.apache.hadoop.io.Text
FindMax. findMax(Scanner scanner, org.apache.hadoop.io.Text start, boolean is, org.apache.hadoop.io.Text end, boolean ie)
void
TableOperations. flush(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, boolean wait)
Flush a table's data that is currently in memory.List<DiskUsage>
TableOperations. getDiskUsage(Set<String> tables)
Gets the number of bytes being used in the files for a set of tablesIteratorSetting
TableOperations. getIteratorSetting(String tableName, String name, IteratorUtil.IteratorScope scope)
Get the settings for an iterator.Map<String,Set<org.apache.hadoop.io.Text>>
TableOperations. getLocalityGroups(String tableName)
Gets the locality groups currently set for a table.org.apache.hadoop.io.Text
TableOperations. getMaxRow(String tableName, Authorizations auths, org.apache.hadoop.io.Text startRow, boolean startInclusive, org.apache.hadoop.io.Text endRow, boolean endInclusive)
Finds the max row within a given range.Iterable<Map.Entry<String,String>>
TableOperations. getProperties(String tableName)
Gets properties of a table.SamplerConfiguration
TableOperations. getSamplerConfiguration(String tableName)
Reads the sampling configuration properties for a table.Collection<org.apache.hadoop.io.Text>
TableOperations. getSplits(String tableName)
Deprecated.since 1.5.0; useTableOperations.listSplits(String)
instead.Collection<org.apache.hadoop.io.Text>
TableOperations. getSplits(String tableName, int maxSplits)
Deprecated.since 1.5.0; useTableOperations.listSplits(String, int)
instead.abstract String
ActiveCompaction. getTable()
void
TableOperations. importDirectory(String tableName, String dir, String failureDir, boolean setTime)
Bulk import all the files in a directory into a table.Map<String,Integer>
TableOperations. listConstraints(String tableName)
List constraints on a table with their assigned numbers.Map<String,EnumSet<IteratorUtil.IteratorScope>>
TableOperations. listIterators(String tableName)
Get a list of iterators for this table.Collection<org.apache.hadoop.io.Text>
TableOperations. listSplits(String tableName)
Collection<org.apache.hadoop.io.Text>
TableOperations. listSplits(String tableName, int maxSplits)
Locations
TableOperations. locate(String tableName, Collection<Range> ranges)
Locates the tablet servers and tablets that would service a collections of ranges.void
TableOperations. merge(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
Merge tablets between (start, end]void
TableOperations. offline(String tableName)
Initiates taking a table offline, but does not wait for action to completevoid
TableOperations. offline(String tableName, boolean wait)
void
TableOperations. online(String tableName)
Initiates bringing a table online, but does not wait for action to completevoid
TableOperations. online(String tableName, boolean wait)
Set<String>
ReplicationOperations. referencedFiles(String tableName)
Gets all of the referenced files for a table from the metadata table.void
TableOperations. removeIterator(String tableName, String name, EnumSet<IteratorUtil.IteratorScope> scopes)
Remove an iterator from a table by name.void
TableOperations. rename(String oldTableName, String newTableName)
Rename a tablevoid
TableOperations. setLocalityGroups(String tableName, Map<String,Set<org.apache.hadoop.io.Text>> groups)
Sets a table's locality groups.void
TableOperations. setSamplerConfiguration(String tableName, SamplerConfiguration samplerConfiguration)
Set or update the sampler configuration for a table.Set<Range>
TableOperations. splitRangeByTablets(String tableName, Range range, int maxSplits)
boolean
TableOperations. testClassLoad(String tableName, String className, String asTypeName)
Test to see if the instance can load the given class as the given type. -
Uses of TableNotFoundException in org.apache.accumulo.core.client.impl
Methods in org.apache.accumulo.core.client.impl that throw TableNotFoundException Modifier and Type Method Description static String
Tables. _getTableId(Instance instance, String tableName)
protected TabletLocator.TabletLocation
TabletLocatorImpl. _locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry, boolean lock, org.apache.accumulo.core.client.impl.TabletLocatorImpl.LockCheckerSession lcSession)
int
TableOperationsHelper. addConstraint(String tableName, String constraintClassName)
int
TableOperationsImpl. addConstraint(String tableName, String constraintClassName)
void
TableOperationsImpl. addSplits(String tableName, SortedSet<org.apache.hadoop.io.Text> partitionKeys)
void
TableOperationsHelper. attachIterator(String tableName, IteratorSetting setting)
void
TableOperationsHelper. attachIterator(String tableName, IteratorSetting setting, EnumSet<IteratorUtil.IteratorScope> scopes)
void
TableOperationsImpl. attachIterator(String tableName, IteratorSetting setting, EnumSet<IteratorUtil.IteratorScope> scopes)
<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)
void
TableOperationsImpl. cancelCompaction(String tableName)
void
TableOperationsHelper. checkIteratorConflicts(String tableName, IteratorSetting setting, EnumSet<IteratorUtil.IteratorScope> scopes)
void
TableOperationsImpl. clearLocatorCache(String tableName)
void
TableOperationsImpl. clearSamplerConfiguration(String tableName)
void
TableOperationsImpl. clone(String srcTableName, String newTableName, boolean flush, Map<String,String> propertiesToSet, Set<String> propertiesToExclude)
void
TableOperationsImpl. clone(String srcTableName, String newTableName, CloneConfiguration config)
void
TableOperationsImpl. compact(String tableName, CompactionConfig config)
void
TableOperationsImpl. compact(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, boolean flush, boolean wait)
void
TableOperationsImpl. compact(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, List<IteratorSetting> iterators, boolean flush, boolean wait)
BatchDeleter
ConnectorImpl. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.BatchDeleter
ConnectorImpl. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig config)
BatchScanner
ConnectorImpl. createBatchScanner(String tableName, Authorizations authorizations, int numQueryThreads)
BatchWriter
ConnectorImpl. createBatchWriter(String tableName, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.BatchWriter
ConnectorImpl. createBatchWriter(String tableName, BatchWriterConfig config)
ConditionalWriter
ConnectorImpl. createConditionalWriter(String tableName, ConditionalWriterConfig config)
protected IsolatedScanner
TableOperationsImpl. createMetadataScanner(String metaTable, Range range)
Create an IsolatedScanner over the given table, fetching the columns necessary to determine when a table has transitioned to online or offline.Scanner
ConnectorImpl. createScanner(String tableName, Authorizations authorizations)
void
TableOperationsImpl. delete(String tableName)
void
TabletServerBatchDeleter. delete()
void
TableOperationsImpl. deleteRows(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
void
ReplicationOperationsImpl. drain(String tableName)
void
ReplicationOperationsImpl. drain(String tableName, Set<String> wals)
static <T> T
MasterClient. execute(ClientContext context, ClientExecReturn<T,MasterClientService.Client> exec)
static void
MasterClient. executeGeneric(ClientContext context, ClientExec<MasterClientService.Client> exec)
static void
MasterClient. executeTable(ClientContext context, ClientExec<MasterClientService.Client> exec)
void
TableOperationsImpl. exportTable(String tableName, String exportDir)
void
TableOperationsImpl. flush(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, boolean wait)
BatchWriter
MultiTableBatchWriterImpl. getBatchWriter(String tableName)
List<DiskUsage>
TableOperationsImpl. getDiskUsage(Set<String> tableNames)
IteratorSetting
TableOperationsHelper. getIteratorSetting(String tableName, String name, IteratorUtil.IteratorScope scope)
Map<String,Set<org.apache.hadoop.io.Text>>
TableOperationsImpl. getLocalityGroups(String tableName)
protected boolean
ReplicationOperationsImpl. getMasterDrain(TInfo tinfo, TCredentials rpcCreds, String tableName, Set<String> wals)
org.apache.hadoop.io.Text
TableOperationsImpl. getMaxRow(String tableName, Authorizations auths, org.apache.hadoop.io.Text startRow, boolean startInclusive, org.apache.hadoop.io.Text endRow, boolean endInclusive)
static String
Tables. getNamespaceId(Instance instance, String tableId)
Returns the namespace id for a given table ID.Iterable<Map.Entry<String,String>>
TableOperationsImpl. getProperties(String tableName)
SamplerConfiguration
TableOperationsImpl. getSamplerConfiguration(String tableName)
Collection<org.apache.hadoop.io.Text>
TableOperationsImpl. getSplits(String tableName)
Deprecated.Collection<org.apache.hadoop.io.Text>
TableOperationsImpl. getSplits(String tableName, int maxSplits)
Deprecated.String
ActiveCompactionImpl. getTable()
protected String
ReplicationOperationsImpl. getTableId(Connector conn, String tableName)
static String
Tables. getTableId(Instance instance, String tableName)
static String
Tables. getTableName(Instance instance, String tableId)
void
TableOperationsImpl. importDirectory(String tableName, String dir, String failureDir, boolean setTime)
Map<String,Integer>
TableOperationsHelper. listConstraints(String tableName)
Map<String,EnumSet<IteratorUtil.IteratorScope>>
TableOperationsHelper. listIterators(String tableName)
Collection<org.apache.hadoop.io.Text>
TableOperationsImpl. listSplits(String tableName)
Collection<org.apache.hadoop.io.Text>
TableOperationsImpl. listSplits(String tableName, int maxSplits)
Locations
TableOperationsImpl. locate(String tableName, Collection<Range> ranges)
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)
void
TableOperationsImpl. merge(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
void
TableOperationsImpl. offline(String tableName)
void
TableOperationsImpl. offline(String tableName, boolean wait)
void
TableOperationsImpl. online(String tableName)
void
TableOperationsImpl. online(String tableName, boolean wait)
Set<String>
ReplicationOperationsImpl. referencedFiles(String tableName)
void
TableOperationsHelper. removeIterator(String tableName, String name, EnumSet<IteratorUtil.IteratorScope> scopes)
void
TableOperationsImpl. rename(String oldTableName, String newTableName)
static List<KeyValue>
ThriftScanner. scan(ClientContext context, ThriftScanner.ScanState scanState, int timeOut)
void
TableOperationsImpl. setLocalityGroups(String tableName, Map<String,Set<org.apache.hadoop.io.Text>> groups)
void
TableOperationsImpl. setSamplerConfiguration(String tableName, SamplerConfiguration samplerConfiguration)
Set<Range>
TableOperationsImpl. splitRangeByTablets(String tableName, Range range, int maxSplits)
boolean
TableOperationsImpl. testClassLoad(String tableName, String className, String asTypeName)
void
Writer. update(Mutation m)
Constructors in org.apache.accumulo.core.client.impl that throw TableNotFoundException Constructor Description TabletServerBatchDeleter(ClientContext context, String tableId, Authorizations authorizations, int numQueryThreads, BatchWriterConfig bwConfig)
-
Uses of TableNotFoundException in org.apache.accumulo.core.client.mapred
Methods in org.apache.accumulo.core.client.mapred that throw TableNotFoundException Modifier and Type Method Description protected static TabletLocator
AbstractInputFormat. getTabletLocator(org.apache.hadoop.mapred.JobConf job, String tableId)
Deprecated.since 1.7.0 This method returns a type that is not part of the public API and is not guaranteed to be stable.protected static TabletLocator
InputFormatBase. getTabletLocator(org.apache.hadoop.mapred.JobConf job)
Deprecated.since 1.6.0 -
Uses of TableNotFoundException in org.apache.accumulo.core.client.mapreduce
Methods in org.apache.accumulo.core.client.mapreduce that throw TableNotFoundException Modifier and Type Method Description protected static TabletLocator
AbstractInputFormat. getTabletLocator(org.apache.hadoop.mapreduce.JobContext context, String table)
Deprecated.since 1.7.0 This method returns a type that is not part of the public API and is not guaranteed to be stable.protected static TabletLocator
InputFormatBase. getTabletLocator(org.apache.hadoop.mapreduce.JobContext context)
Deprecated.since 1.6.0 -
Uses of TableNotFoundException in org.apache.accumulo.core.client.mapreduce.lib.impl
Methods in org.apache.accumulo.core.client.mapreduce.lib.impl that throw TableNotFoundException Modifier and Type Method Description static Map<String,Map<KeyExtent,List<Range>>>
InputConfigurator. binOffline(String tableId, List<Range> ranges, Instance instance, Connector conn)
static TabletLocator
InputConfigurator. getTabletLocator(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf, String tableId)
Initializes an AccumuloTabletLocator
based on the configuration. -
Uses of TableNotFoundException in org.apache.accumulo.core.client.mapreduce.lib.util
Methods in org.apache.accumulo.core.client.mapreduce.lib.util that throw TableNotFoundException Modifier and Type Method Description static TabletLocator
InputConfigurator. getTabletLocator(Class<?> implementingClass, org.apache.hadoop.conf.Configuration conf)
Deprecated.since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. -
Uses of TableNotFoundException in org.apache.accumulo.core.client.mock
Methods in org.apache.accumulo.core.client.mock that throw TableNotFoundException Modifier and Type Method Description BatchDeleter
MockConnector. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.BatchDeleter
MockConnector. createBatchDeleter(String tableName, Authorizations authorizations, int numQueryThreads, BatchWriterConfig config)
Deprecated.BatchScanner
MockConnector. createBatchScanner(String tableName, Authorizations authorizations, int numQueryThreads)
Deprecated.BatchWriter
MockConnector. createBatchWriter(String tableName, long maxMemory, long maxLatency, int maxWriteThreads)
Deprecated.BatchWriter
MockConnector. createBatchWriter(String tableName, BatchWriterConfig config)
Deprecated.ConditionalWriter
MockConnector. createConditionalWriter(String tableName, ConditionalWriterConfig config)
Deprecated.Scanner
MockConnector. createScanner(String tableName, Authorizations authorizations)
Deprecated.void
MockBatchDeleter. delete()
Deprecated.BatchWriter
MockMultiTableBatchWriter. getBatchWriter(String table)
Deprecated. -
Uses of TableNotFoundException in org.apache.accumulo.core.client.mock.impl
Methods in org.apache.accumulo.core.client.mock.impl that throw TableNotFoundException Modifier and Type Method Description <T extends Mutation>
voidMockTabletLocator. binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
Deprecated.List<Range>
MockTabletLocator. binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
Deprecated.TabletLocator.TabletLocation
MockTabletLocator. locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
Deprecated. -
Uses of TableNotFoundException in org.apache.accumulo.core.conf
Methods in org.apache.accumulo.core.conf that throw TableNotFoundException Modifier and Type Method Description static AccumuloConfiguration
AccumuloConfiguration. getTableConfiguration(Connector conn, String tableId)
Gets the configuration specific to a table. -
Uses of TableNotFoundException in org.apache.accumulo.core.metadata
Methods in org.apache.accumulo.core.metadata that throw TableNotFoundException Modifier and Type Method Description abstract void
MetadataServicer. getTabletLocations(SortedMap<KeyExtent,String> tablets)
Populate the provided data structure with the known tablets for the table being serviced
-