Uses of Class
org.apache.hadoop.security.Credentials
Packages that use Credentials
Package
Description
Classes for hadoop security.
-
Uses of Credentials in org.apache.hadoop.mapred
Methods in org.apache.hadoop.mapred that return CredentialsMethods in org.apache.hadoop.mapred with parameters of type Credentials -
Uses of Credentials in org.apache.hadoop.mapreduce
Methods in org.apache.hadoop.mapreduce that return Credentials -
Uses of Credentials in org.apache.hadoop.mapreduce.security
Methods in org.apache.hadoop.mapreduce.security that return CredentialsModifier and TypeMethodDescriptionstatic CredentialsTokenCache.loadTokens(String jobTokenFile, Configuration conf) Deprecated.static CredentialsDeprecated.UsereadTokenStorageFile(org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration)instead, this method is included for compatibility against Hadoop-1.Methods in org.apache.hadoop.mapreduce.security with parameters of type CredentialsModifier and TypeMethodDescriptionstatic Token<?>TokenCache.getDelegationToken(Credentials credentials, String namenode) Deprecated.UsegetToken(org.apache.hadoop.io.Text)instead, this method is included for compatibility against Hadoop-1static byte[]TokenCache.getEncryptedSpillKey(Credentials credentials) static Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>TokenCache.getJobToken(Credentials credentials) static byte[]TokenCache.getSecretKey(Credentials credentials, Text alias) auxiliary method to get user's secret keys..static byte[]TokenCache.getShuffleSecretKey(Credentials credentials) static voidTokenCache.obtainTokensForNamenodes(Credentials credentials, Path[] ps, Configuration conf) Convenience method to obtain delegation tokens from namenodes corresponding to the paths passed.static voidTokenCache.setEncryptedSpillKey(byte[] key, Credentials credentials) static voidTokenCache.setJobToken(Token<? extends TokenIdentifier> t, Credentials credentials) store job tokenstatic voidTokenCache.setShuffleSecretKey(byte[] key, Credentials credentials) -
Uses of Credentials in org.apache.hadoop.security
Methods in org.apache.hadoop.security that return CredentialsModifier and TypeMethodDescriptionUserGroupInformation.getCredentials()Obtain the tokens in credentials form associated with this user.static CredentialsCredentials.readTokenStorageFile(File filename, Configuration conf) Convenience method for reading a token storage file and loading its Tokens.static CredentialsCredentials.readTokenStorageFile(Path filename, Configuration conf) Convenience method for reading a token storage file and loading its Tokens.Methods in org.apache.hadoop.security with parameters of type CredentialsModifier and TypeMethodDescriptionvoidCredentials.addAll(Credentials other) Copy all of the credentials from one credential object into another.voidUserGroupInformation.addCredentials(Credentials credentials) Add the given Credentials to this user.voidCredentials.mergeAll(Credentials other) Copy all of the credentials from one credential object into another.Constructors in org.apache.hadoop.security with parameters of type CredentialsModifierConstructorDescriptionCredentials(Credentials credentials) Create a copy of the given credentials. -
Uses of Credentials in org.apache.hadoop.security.token.delegation.web
Methods in org.apache.hadoop.security.token.delegation.web with parameters of type CredentialsModifier and TypeMethodDescriptionToken<? extends TokenIdentifier>DelegationTokenAuthenticatedURL.selectDelegationToken(URL url, Credentials creds) Select a delegation token from all tokens in credentials, based on url.
readTokenStorageFile(org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration)instead, this method is included for compatibility against Hadoop-1.