public int getPort() {
    return port;
  }
A helper function to serialize the JobTokenIdentifier to be sent to the
ShuffleHandler as ServiceData.
@param jobToken the job token to be used for authentication of
shuffle data requests.
@return the serialized version of the jobToken.
llap-server/src/java/org/apache/hadoop/hive/llap/shufflehandler/ShuffleHandler.java