Package | Description |
---|---|
org.apache.accumulo.core.cli | |
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.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.security.tokens | |
org.apache.accumulo.core.rpc |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
MapReduceClientOpts.getToken() |
AuthenticationToken |
ClientOpts.getToken() |
Modifier and Type | Method and Description |
---|---|
Connector |
ZooKeeperInstance.getConnector(String principal,
AuthenticationToken token) |
Connector |
Instance.getConnector(String principal,
AuthenticationToken token)
Returns a connection to this instance of accumulo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityOperations.authenticateUser(String principal,
AuthenticationToken token)
Verify a username/password combination is valid
|
Modifier and Type | Class and Description |
---|---|
class |
DelegationTokenImpl |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
Credentials.getToken()
Gets the authentication token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityOperationsImpl.authenticateUser(String principal,
AuthenticationToken token) |
Constructor and Description |
---|
Credentials(String principal,
AuthenticationToken token)
Creates a new credentials object.
|
Modifier and Type | Method and Description |
---|---|
protected static AuthenticationToken |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
protected static AuthenticationToken |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
Modifier and Type | Method and Description |
---|---|
protected static AuthenticationToken |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext context)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
protected static AuthenticationToken |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext context)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
AuthenticationToken |
RangeInputSplit.getToken() |
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
void |
RangeInputSplit.setToken(AuthenticationToken token) |
Modifier and Type | Class and Description |
---|---|
class |
DelegationTokenStub
An internal stub class for passing DelegationToken information out of the Configuration back up
to the appropriate implementation for mapreduce or mapred.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
DelegationTokenStub.clone() |
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 AuthenticationToken |
ConfiguratorBase.getAuthenticationToken(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
static AuthenticationToken |
ConfiguratorBase.getTokenFromFile(org.apache.hadoop.conf.Configuration conf,
String principal,
String tokenFile)
Reads from the token file in distributed cache.
|
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapred.JobConf job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of
DelegationTokenStub , reconstituting it from the provided JobConf . |
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapreduce.JobContext job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of
DelegationTokenStub , reconstituting it from the provided JobConf . |
Modifier and Type | Method and Description |
---|---|
static void |
ConfiguratorBase.setConnectorInfo(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapred.JobConf job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of
DelegationTokenStub , reconstituting it from the provided JobConf . |
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapreduce.JobContext job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of
DelegationTokenStub , reconstituting it from the provided JobConf . |
Modifier and Type | Method and Description |
---|---|
static void |
ConfiguratorBase.setConnectorInfo(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
String principal,
AuthenticationToken token)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Method and Description |
---|---|
Connector |
MockInstance.getConnector(String principal,
AuthenticationToken token)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DelegationToken
An
AuthenticationToken that wraps a "Hadoop style" delegation token created by Accumulo. |
Modifier and Type | Class and Description |
---|---|
class |
CredentialProviderToken
An
AuthenticationToken backed by a Hadoop CredentialProvider. |
class |
KerberosToken
Authentication token for Kerberos authenticated clients
|
class |
NullToken |
class |
PasswordToken |
Modifier and Type | Method and Description |
---|---|
static <T extends AuthenticationToken> |
AuthenticationToken.AuthenticationTokenSerializer.deserialize(Class<T> tokenType,
byte[] tokenBytes)
A convenience method to create tokens from serialized bytes, created by
AuthenticationToken.AuthenticationTokenSerializer.serialize(AuthenticationToken) |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
AuthenticationToken.clone() |
static AuthenticationToken |
AuthenticationToken.AuthenticationTokenSerializer.deserialize(String tokenClassName,
byte[] tokenBytes)
An alternate version of
AuthenticationToken.AuthenticationTokenSerializer.deserialize(Class, byte[]) that accepts a token class name
rather than a token class. |
Modifier and Type | Method and Description |
---|---|
static byte[] |
AuthenticationToken.AuthenticationTokenSerializer.serialize(AuthenticationToken token)
A convenience method to serialize tokens.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SaslConnectionParams.updateFromToken(AuthenticationToken token) |
Constructor and Description |
---|
SaslConnectionParams(AccumuloConfiguration conf,
AuthenticationToken token) |
SaslConnectionParams(ClientConfiguration conf,
AuthenticationToken token) |
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.