MapRTicketManagerpublic interface ExternalTokenManager
| Modifier and Type | Method | Description |
|---|---|---|
void |
generateToken(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appCtx,
java.lang.String username,
org.apache.hadoop.conf.Configuration conf) |
Generates a token and stores it in DFS.
|
void |
removeToken(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.conf.Configuration conf) |
Deletes the token from DFS.
|
void |
uploadTokenToDistributedCache(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
Uploads token to DFS for the given application.
|
void uploadTokenToDistributedCache(org.apache.hadoop.yarn.api.records.ApplicationId appId)
appId - application idvoid generateToken(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appCtx,
java.lang.String username,
org.apache.hadoop.conf.Configuration conf)
void removeToken(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.conf.Configuration conf)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.