@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobTokenIdentifier
extends org.apache.hadoop.security.token.TokenIdentifier
Modifier and Type | Class and Description |
---|---|
static class |
JobTokenIdentifier.Renewer |
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.Text |
KIND_NAME |
Constructor and Description |
---|
JobTokenIdentifier()
Default constructor
|
JobTokenIdentifier(org.apache.hadoop.io.Text jobid)
Create a job token identifier from a jobid
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.Text |
getJobId()
Get the jobid
|
org.apache.hadoop.io.Text |
getKind() |
org.apache.hadoop.security.UserGroupInformation |
getUser() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public JobTokenIdentifier()
public JobTokenIdentifier(org.apache.hadoop.io.Text jobid)
jobid
- the jobid to usepublic 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
public org.apache.hadoop.io.Text getJobId()
public void readFields(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.