Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.mapred | |
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.security | |
org.apache.hadoop.security |
Modifier and Type | Method and Description |
---|---|
Token<?>[] |
FileSystem.addDelegationTokens(String renewer,
Credentials credentials)
Obtain all delegation tokens used by this FileSystem that are not
already present in the given Credentials.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
JobConf.getCredentials()
Get credentials for the job.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
JobContext.getCredentials()
Get credentials for the job.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
TokenCache.getSecretKey(Credentials credentials,
Text alias)
auxiliary method to get user's secret keys..
|
static void |
TokenCache.obtainTokensForNamenodes(Credentials credentials,
Path[] ps,
Configuration conf)
Convenience method to obtain delegation tokens from namenodes
corresponding to the paths passed.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
UserGroupInformation.getCredentials()
Obtain the tokens in credentials form associated with this user.
|
static Credentials |
Credentials.readTokenStorageFile(File filename,
Configuration conf)
Convenience method for reading a token storage file, and loading the Tokens
therein in the passed UGI
|
static Credentials |
Credentials.readTokenStorageFile(Path filename,
Configuration conf)
Convenience method for reading a token storage file, and loading the Tokens
therein in the passed UGI
|
Modifier and Type | Method and Description |
---|---|
void |
Credentials.addAll(Credentials other)
Copy all of the credentials from one credential object into another.
|
void |
UserGroupInformation.addCredentials(Credentials credentials)
Add the given Credentials to this user.
|
void |
Credentials.mergeAll(Credentials other)
Copy all of the credentials from one credential object into another.
|
Constructor and Description |
---|
Credentials(Credentials credentials)
Create a copy of the given credentials
|
Copyright © 2017 Apache Software Foundation. All rights reserved.