Package | Description |
---|---|
org.apache.accumulo.core.cli | |
org.apache.accumulo.core.client | |
org.apache.accumulo.core.client.impl | |
org.apache.accumulo.core.client.mapred | |
org.apache.accumulo.core.client.mapreduce | |
org.apache.accumulo.core.client.mapreduce.impl | |
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 Accumulo
|
org.apache.accumulo.core.client.mock.impl | |
org.apache.accumulo.core.trace | |
org.apache.accumulo.core.util | |
org.apache.accumulo.core.zookeeper |
Modifier and Type | Field and Description |
---|---|
protected Instance |
ClientOpts.cachedInstance |
Modifier and Type | Method and Description |
---|---|
Instance |
ClientOpts.getInstance() |
Modifier and Type | Class and Description |
---|---|
class |
ZooKeeperInstance
An implementation of instance that looks in zookeeper to find information needed to connect to an instance of accumulo.
|
Modifier and Type | Method and Description |
---|---|
abstract Instance |
Connector.getInstance()
Accessor method for internal instance object.
|
Constructor and Description |
---|
MutationsRejectedException(Instance instance,
List<ConstraintViolationSummary> cvsList,
HashMap<KeyExtent,Set<SecurityErrorCode>> hashMap,
Collection<String> serverSideErrors,
int unknownErrors,
Throwable cause)
Deprecated.
|
MutationsRejectedException(Instance instance,
List<ConstraintViolationSummary> cvsList,
Map<TabletId,Set<SecurityErrorCode>> hashMap,
Collection<String> serverSideErrors,
int unknownErrors,
Throwable cause) |
TableOfflineException(Instance instance,
String tableId) |
Modifier and Type | Field and Description |
---|---|
protected Instance |
ClientContext.inst |
Modifier and Type | Method and Description |
---|---|
Instance |
ConnectorImpl.getInstance() |
Instance |
ClientContext.getInstance()
Retrieve the instance used to construct this context
|
Modifier and Type | Method and Description |
---|---|
static String |
Tables._getTableId(Instance instance,
String tableName) |
static void |
Tables.clearCache(Instance instance) |
static void |
Tables.clearCacheByPath(Instance instance,
String zooPath)
Clears the zoo cache from instance/root/{PATH}
|
static boolean |
Namespaces.exists(Instance instance,
String namespaceId) |
static boolean |
Tables.exists(Instance instance,
String tableId) |
static SortedMap<String,String> |
Namespaces.getIdToNameMap(Instance instance) |
static SortedMap<String,String> |
Tables.getIdToNameMap(Instance instance) |
static String |
Namespaces.getNamespaceId(Instance instance,
String namespace) |
static String |
Tables.getNamespaceId(Instance instance,
String tableId)
Returns the namespace id for a given table ID.
|
static String |
Namespaces.getNamespaceName(Instance instance,
String namespaceId) |
static SortedMap<String,String> |
Namespaces.getNameToIdMap(Instance instance) |
static SortedMap<String,String> |
Tables.getNameToIdMap(Instance instance) |
static String |
Tables.getPrintableTableInfoFromId(Instance instance,
String tableId) |
static String |
Tables.getPrintableTableInfoFromName(Instance instance,
String tableName) |
static String |
Tables.getTableId(Instance instance,
String tableName) |
static List<String> |
Namespaces.getTableIds(Instance instance,
String namespaceId) |
static String |
Tables.getTableName(Instance instance,
String tableId) |
static List<String> |
Namespaces.getTableNames(Instance instance,
String namespaceId) |
static TableState |
Tables.getTableState(Instance instance,
String tableId) |
static TableState |
Tables.getTableState(Instance instance,
String tableId,
boolean clearCachedState)
Get the current state of the table using the tableid.
|
abstract void |
TabletLocator.invalidateCache(Instance instance,
String server)
Invalidate all metadata entries that point to server
|
void |
SyncingTabletLocator.invalidateCache(Instance instance,
String server) |
void |
TabletLocatorImpl.invalidateCache(Instance instance,
String server) |
void |
RootTabletLocator.invalidateCache(Instance instance,
String server) |
TCredentials |
Credentials.toThrift(Instance instance)
Converts the current object to the relevant thrift type.
|
Constructor and Description |
---|
ClientContext(Instance instance,
Credentials credentials,
AccumuloConfiguration serverConf)
Instantiate a client context from an existing
AccumuloConfiguration . |
ClientContext(Instance instance,
Credentials credentials,
ClientConfiguration clientConf)
Instantiate a client context
|
DelegationTokenImpl(Instance instance,
org.apache.hadoop.security.UserGroupInformation user,
AuthenticationTokenIdentifier identifier) |
OfflineScanner(Instance instance,
Credentials credentials,
String tableId,
Authorizations authorizations) |
Modifier and Type | Method and Description |
---|---|
protected static Instance |
AbstractInputFormat.getInstance(org.apache.hadoop.mapred.JobConf job)
Initializes an Accumulo
Instance based on the configuration. |
protected static Instance |
AccumuloOutputFormat.getInstance(org.apache.hadoop.mapred.JobConf job)
Initializes an Accumulo
Instance based on the configuration. |
Modifier and Type | Method and Description |
---|---|
Instance |
RangeInputSplit.getInstance()
Deprecated.
since 1.7.0, use getInstance(ClientConfiguration) instead.
|
Instance |
RangeInputSplit.getInstance(ClientConfiguration base) |
protected static Instance |
AbstractInputFormat.getInstance(org.apache.hadoop.mapreduce.JobContext context)
Initializes an Accumulo
Instance based on the configuration. |
protected static Instance |
AccumuloOutputFormat.getInstance(org.apache.hadoop.mapreduce.JobContext context)
Initializes an Accumulo
Instance based on the configuration. |
Modifier and Type | Method and Description |
---|---|
static void |
SplitUtils.updateSplit(RangeInputSplit split,
Instance instance,
InputTableConfig tableConfig,
String principal,
AuthenticationToken token,
Authorizations auths,
org.apache.log4j.Level logLevel)
Central place to set common split configuration not handled by split constructors.
|
Modifier and Type | Method and Description |
---|---|
static Instance |
ConfiguratorBase.getInstance(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Initializes an Accumulo
Instance based on the configuration. |
static Instance |
InputConfigurator.validateInstance(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Validates and extracts an
Instance from the configuration |
Modifier and Type | Method and Description |
---|---|
static Map<String,Map<KeyExtent,List<Range>>> |
InputConfigurator.binOffline(String tableId,
List<Range> ranges,
Instance instance,
Connector conn) |
Modifier and Type | Method and Description |
---|---|
static Instance |
ConfiguratorBase.getInstance(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Class and Description |
---|---|
class |
MockInstance
Deprecated.
since 1.8.0; use MiniAccumuloCluster or a standard mock framework instead.
|
Modifier and Type | Method and Description |
---|---|
Instance |
MockConnector.getInstance()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MockTabletLocator.invalidateCache(Instance instance,
String server)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
DistributedTrace.enable(Instance instance,
ZooReader zoo,
String application,
String address)
Deprecated.
since 1.7, use
DistributedTrace.enable(String, String, org.apache.accumulo.core.client.ClientConfiguration) instead |
Modifier and Type | Method and Description |
---|---|
static Instance |
DeprecationUtil.makeMockInstance(String instance) |
Modifier and Type | Method and Description |
---|---|
static String |
MonitorUtil.getLocation(Instance instance) |
static boolean |
DeprecationUtil.isMockInstance(Instance instance) |
Modifier and Type | Method and Description |
---|---|
static String |
ZooUtil.getRoot(Instance instance) |
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.