Example usage for Java org.apache.hadoop.mapreduce.security TokenCache fields, constructors, methods, implement or subclass
The text is from its open source code.
Token | getJobToken(Credentials credentials) |
Credentials | loadTokens(String jobTokenFile, JobConf conf) load job token from a file |
Credentials | loadTokens(String jobTokenFile, Configuration conf) load job token from a file |
void | obtainTokensForNamenodes(Credentials credentials, Path[] ps, Configuration conf) Convenience method to obtain delegation tokens from namenodes corresponding to the paths passed. |
void | setJobToken(Token extends TokenIdentifier> t, Credentials credentials) store job token |