| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.mapreduce.security | |
| org.apache.hadoop.mapreduce.security.token |
| 限定符和类型 | 方法和说明 |
|---|---|
static Token<JobTokenIdentifier> |
TokenCache.getJobToken(Credentials credentials) |
| 限定符和类型 | 方法和说明 |
|---|---|
JobTokenIdentifier |
JobTokenSecretManager.createIdentifier()
Create an empty job token identifier
|
| 限定符和类型 | 方法和说明 |
|---|---|
Token<JobTokenIdentifier> |
JobTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
JobTokenSecretManager.createPassword(JobTokenIdentifier identifier)
Create a new password/secret for the given job token identifier.
|
byte[] |
JobTokenSecretManager.retrievePassword(JobTokenIdentifier identifier)
Look up the token password/secret for the given job token identifier.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JobTokenSecretManager.addTokenForJob(String jobId,
Token<JobTokenIdentifier> token)
Add the job token of a job to cache
|
Copyright © 2009 The Apache Software Foundation