use of org.apache.tez.common.security.JobTokenIdentifier in project hive by apache.
the class ShuffleHandler method deserializeServiceData.
static Token<JobTokenIdentifier> deserializeServiceData(ByteBuffer secret) throws IOException {
DataInputByteBuffer in = new DataInputByteBuffer();
in.reset(secret);
Token<JobTokenIdentifier> jt = new Token<JobTokenIdentifier>();
jt.readFields(in);
return jt;
}
Aggregations