Class JobIdPBImpl
java.lang.Object
org.apache.hadoop.mapreduce.v2.api.records.JobId
org.apache.hadoop.mapreduce.v2.api.records.impl.pb.JobIdPBImpl
- All Implemented Interfaces:
Comparable<JobId>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationIdgetAppId()Get the associated ApplicationId which represents the start time of theResourceManagerand is used to generate the globally uniqueJobId.intgetId()Get the short integer identifier of theJobIdwhich is unique for all applications started by a particular instance of theResourceManager.org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProtogetProto()voidsetAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId) voidsetId(int id)
-
Constructor Details
-
JobIdPBImpl
public JobIdPBImpl() -
JobIdPBImpl
public JobIdPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto getProto() -
getAppId
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()Description copied from class:JobIdGet the associated ApplicationId which represents the start time of theResourceManagerand is used to generate the globally uniqueJobId. -
setAppId
public void setAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId) -
getId
public int getId()Description copied from class:JobIdGet the short integer identifier of theJobIdwhich is unique for all applications started by a particular instance of theResourceManager. -
setId
public void setId(int id)
-