Package | Description |
---|---|
org.apache.tez.common | |
org.apache.tez.common.security |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
TezCommonUtils.convertJobTokenToBytes(org.apache.hadoop.security.token.Token<JobTokenIdentifier> jobToken) |
static ByteBuffer |
TezCommonUtils.serializeServiceData(org.apache.hadoop.security.token.Token<JobTokenIdentifier> jobToken)
A helper function to serialize the JobTokenIdentifier to be sent to the
ShuffleHandler as ServiceData.
|
Modifier and Type | Method and Description |
---|---|
JobTokenIdentifier |
JobTokenSecretManager.createIdentifier()
Create an empty job token identifier
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.security.token.Token<JobTokenIdentifier> |
TokenCache.getSessionToken(org.apache.hadoop.security.Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
JobTokenSecretManager.addTokenForJob(String jobId,
org.apache.hadoop.security.token.Token<JobTokenIdentifier> token)
Add the job token of a job to cache
|
Copyright © 2016 Apache Software Foundation. All rights reserved.