@InterfaceAudience.Public
@InterfaceStability.Evolving
public class ClientToAMTokenIdentifier
extends org.apache.hadoop.security.token.TokenIdentifier
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.Text |
KIND_NAME |
Constructor and Description |
---|
ClientToAMTokenIdentifier() |
ClientToAMTokenIdentifier(org.apache.hadoop.yarn.api.records.ApplicationAttemptId id,
String client) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptID() |
String |
getClientName() |
org.apache.hadoop.io.Text |
getKind() |
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ClientToAMTokenIdentifierProto |
getProto() |
org.apache.hadoop.security.UserGroupInformation |
getUser() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public ClientToAMTokenIdentifier()
public ClientToAMTokenIdentifier(org.apache.hadoop.yarn.api.records.ApplicationAttemptId id, String client)
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptID()
public String getClientName()
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ClientToAMTokenIdentifierProto getProto()
public void write(DataOutput out) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
public org.apache.hadoop.io.Text getKind()
getKind
in class org.apache.hadoop.security.token.TokenIdentifier
public org.apache.hadoop.security.UserGroupInformation getUser()
getUser
in class org.apache.hadoop.security.token.TokenIdentifier
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.