@InterfaceAudience.Public @InterfaceStability.Evolving public class AMRMTokenIdentifier extends org.apache.hadoop.security.token.TokenIdentifier
| Modifier and Type | Class and Description |
|---|---|
static class |
AMRMTokenIdentifier.Renewer |
| Constructor and Description |
|---|
AMRMTokenIdentifier() |
AMRMTokenIdentifier(ApplicationAttemptId appAttemptId,
int masterKeyId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ApplicationAttemptId |
getApplicationAttemptId() |
int |
getKeyId() |
Text |
getKind() |
YarnSecurityTokenProtos.AMRMTokenIdentifierProto |
getProto() |
UserGroupInformation |
getUser() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
getBytes, getTrackingIdpublic static final Text KIND_NAME
public AMRMTokenIdentifier()
public AMRMTokenIdentifier(ApplicationAttemptId appAttemptId, int masterKeyId)
@InterfaceAudience.Private public ApplicationAttemptId getApplicationAttemptId()
public void write(DataOutput out) throws IOException
IOExceptionpublic void readFields(DataInput in) throws IOException
IOExceptionpublic Text getKind()
getKind in class org.apache.hadoop.security.token.TokenIdentifierpublic UserGroupInformation getUser()
getUser in class org.apache.hadoop.security.token.TokenIdentifierpublic int getKeyId()
public YarnSecurityTokenProtos.AMRMTokenIdentifierProto getProto()
Copyright © 2018 CERN. All Rights Reserved.