程序包 | 说明 |
---|---|
org.apache.hadoop.filecache | |
org.apache.hadoop.hdfs.security.token.delegation | |
org.apache.hadoop.hdfs.tools | |
org.apache.hadoop.mapred |
A software framework for easily writing applications which process vast
amounts of data (multi-terabyte data-sets) parallelly on large clusters
(thousands of nodes) built of commodity hardware in a reliable, fault-tolerant
manner.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.security | |
org.apache.hadoop.mapreduce.security.token | |
org.apache.hadoop.security | |
org.apache.hadoop.tools.distcp2 |
限定符和类型 | 方法和说明 |
---|---|
static void |
TrackerDistributedCacheManager.getDelegationTokens(Configuration job,
Credentials credentials)
For each archive or cache file - get the corresponding delegation token
|
限定符和类型 | 方法和说明 |
---|---|
static Credentials |
DelegationTokenSecretManager.createCredentials(NameNode namenode,
UserGroupInformation ugi,
String renewer)
A utility method for creating credentials.
|
限定符和类型 | 方法和说明 |
---|---|
static Credentials |
DelegationTokenFetcher.getDTfromRemote(String protocol,
InetSocketAddress nnAddr,
String renewer,
Configuration conf)
Utility method to obtain a delegation token over http
|
限定符和类型 | 字段和说明 |
---|---|
protected Credentials |
JobInProgress.tokenStorage |
限定符和类型 | 方法和说明 |
---|---|
Credentials |
JobConf.getCredentials()
Get credentials for the job.
|
限定符和类型 | 方法和说明 |
---|---|
JobStatus |
LocalJobRunner.submitJob(JobID jobid,
String jobSubmitDir,
Credentials credentials) |
JobStatus |
JobTracker.submitJob(JobID jobId,
String jobSubmitDir,
Credentials ts)
JobTracker.submitJob() kicks off a new job.
|
限定符和类型 | 字段和说明 |
---|---|
protected Credentials |
JobContext.credentials |
限定符和类型 | 方法和说明 |
---|---|
Credentials |
JobContext.getCredentials()
Get credentials for the job.
|
限定符和类型 | 方法和说明 |
---|---|
static Credentials |
TokenCache.loadTokens(String jobTokenFile,
Configuration conf)
load job token from a file
|
限定符和类型 | 方法和说明 |
---|---|
static Token<DelegationTokenIdentifier> |
TokenCache.getDelegationToken(Credentials credentials,
String namenode) |
static Token<JobTokenIdentifier> |
TokenCache.getJobToken(Credentials credentials) |
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.
|
static void |
TokenCache.setJobToken(Token<? extends TokenIdentifier> t,
Credentials credentials)
store job token
|
限定符和类型 | 方法和说明 |
---|---|
static void |
DelegationTokenRenewal.registerDelegationTokensForRenewal(JobID jobId,
Credentials ts,
Configuration conf) |
限定符和类型 | 方法和说明 |
---|---|
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
|
限定符和类型 | 方法和说明 |
---|---|
void |
Credentials.addAll(Credentials other)
Copy all of the credentials from one credential object into another.
|
限定符和类型 | 方法和说明 |
---|---|
protected Credentials |
CopyListing.getCredentials()
get credentials to update the delegation tokens for accessed FS objects
|
限定符和类型 | 方法和说明 |
---|---|
static CopyListing |
CopyListing.getCopyListing(Configuration configuration,
Credentials credentials,
DistCpOptions options)
Public Factory method with which the appropriate CopyListing implementation may be retrieved.
|
protected void |
CopyListing.setCredentials(Credentials credentials)
set Credentials store, on which FS delegatin token will be cached
|
构造器和说明 |
---|
CopyListing(Configuration configuration,
Credentials credentials)
Protected constructor, to initialize configuration.
|
FileBasedCopyListing(Configuration configuration,
Credentials credentials)
Constructor, to initialize base-class.
|
GlobbedCopyListing(Configuration configuration,
Credentials credentials)
Constructor, to initialize the configuration.
|
SimpleCopyListing(Configuration configuration,
Credentials credentials)
Protected constructor, to initialize configuration.
|
Copyright © 2009 The Apache Software Foundation