## Uses of Class
org.apache.hadoop.security.Credentials

Packages that use Credentials
org.apache.hadoop.filecache
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

Uses of Credentials in org.apache.hadoop.filecache

Methods in org.apache.hadoop.filecache with parameters of type Credentials
`static void` `TrackerDistributedCacheManager.getDelegationTokens(Configuration job, Credentials credentials)` For each archive or cache file - get the corresponding delegation token

Uses of Credentials in org.apache.hadoop.mapred

Fields in org.apache.hadoop.mapred declared as Credentials
`protected Credentials` `JobInProgress.tokenStorage`

Methods in org.apache.hadoop.mapred that return Credentials
`Credentials` `JobConf.getCredentials()` Get credentials for the job.

Methods in org.apache.hadoop.mapred with parameters of type Credentials
`JobStatus` `JobTracker.submitJob(JobID jobId, String jobSubmitDir, Credentials ts)` JobTracker.submitJob() kicks off a new job.

Uses of Credentials in org.apache.hadoop.mapreduce

Fields in org.apache.hadoop.mapreduce declared as Credentials
`protected Credentials` `JobContext.credentials`

Methods in org.apache.hadoop.mapreduce that return Credentials
`Credentials` `JobContext.getCredentials()` Get credentials for the job.

Uses of Credentials in org.apache.hadoop.mapreduce.security

Methods in org.apache.hadoop.mapreduce.security that return Credentials
`static Credentials` `TokenCache.loadTokens(String jobTokenFile, Configuration conf)` load job token from a file

Methods in org.apache.hadoop.mapreduce.security with parameters of type Credentials
`static Token<org.apache.hadoop.hdfs.security.token.delegation.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

Uses of Credentials in org.apache.hadoop.mapreduce.security.token

Methods in org.apache.hadoop.mapreduce.security.token with parameters of type Credentials
`static void` `DelegationTokenRenewal.registerDelegationTokensForRenewal(JobID jobId, Credentials ts, Configuration conf)`

Uses of Credentials in org.apache.hadoop.security

Methods in org.apache.hadoop.security that return Credentials
`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

Methods in org.apache.hadoop.security with parameters of type Credentials
`void` `Credentials.addAll(Credentials other)` Copy all of the credentials from one credential object into another.

Copyright © 2009 The Apache Software Foundation