@InterfaceAudience.Public
@InterfaceStability.Evolving
public class AMRMTokenIdentifier
extends org.apache.hadoop.security.token.TokenIdentifier
| Modifier and Type | Class and Description |
|---|---|
static class |
AMRMTokenIdentifier.Renewer |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.hadoop.io.Text |
KIND_NAME |
| Constructor and Description |
|---|
AMRMTokenIdentifier() |
AMRMTokenIdentifier(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
int masterKeyId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
int |
getKeyId() |
org.apache.hadoop.io.Text |
getKind() |
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.AMRMTokenIdentifierProto |
getProto() |
org.apache.hadoop.security.UserGroupInformation |
getUser() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public AMRMTokenIdentifier()
public AMRMTokenIdentifier(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
int masterKeyId)
@InterfaceAudience.Private public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
public void write(DataOutput out) throws IOException
IOExceptionpublic void readFields(DataInput in) throws IOException
IOExceptionpublic org.apache.hadoop.io.Text getKind()
getKind in class org.apache.hadoop.security.token.TokenIdentifierpublic org.apache.hadoop.security.UserGroupInformation getUser()
getUser in class org.apache.hadoop.security.token.TokenIdentifierpublic int getKeyId()
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.AMRMTokenIdentifierProto getProto()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.