public class JobTokenIdentifier extends TokenIdentifier
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JobTokenIdentifier.Renewer |
| 构造器和说明 |
|---|
JobTokenIdentifier()
Default constructor
|
JobTokenIdentifier(Text jobid)
Create a job token identifier from a jobid
|
| 限定符和类型 | 方法和说明 |
|---|---|
Text |
getJobId()
Get the jobid
|
Text |
getKind()
Get the token kind
|
UserGroupInformation |
getUser()
Get the Ugi with the username encoded in the token identifier
|
void |
readFields(DataInput in)
Deserialize the fields of this object from
in. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
getBytespublic static final Text KIND_NAME
public JobTokenIdentifier()
public JobTokenIdentifier(Text jobid)
jobid - the jobid to usepublic Text getKind()
getKind 在类中 TokenIdentifierpublic UserGroupInformation getUser()
getUser 在类中 TokenIdentifierpublic Text getJobId()
public void readFields(DataInput in) throws IOException
in.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
in - DataInput to deseriablize this object from.IOExceptionpublic void write(DataOutput out) throws IOException
out.out - DataOuput to serialize this object into.IOExceptionCopyright © 2009 The Apache Software Foundation