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.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 | |
org.apache.accumulo.core.client.security.tokens | |
org.apache.accumulo.core.security | |
org.apache.accumulo.core.util.shell |
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
boolean |
SecurityOperationsImpl.authenticateUser(String principal,
AuthenticationToken token) |
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 | 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.
|
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.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
CredentialProviderToken
An
AuthenticationToken backed by a Hadoop CredentialProvider. |
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 |
---|---|
AuthenticationToken |
Credentials.getToken()
Gets the authentication token.
|
Constructor and Description |
---|
Credentials(String principal,
AuthenticationToken token)
Creates a new credentials object.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
ShellOptionsJC.TokenConverter.convert(String value) |
AuthenticationToken |
ShellOptionsJC.getAuthenticationToken() |
AuthenticationToken |
Shell.getToken() |
Modifier and Type | Method and Description |
---|---|
void |
Shell.updateUser(String principal,
AuthenticationToken token) |
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.