public class JobIdPBImpl extends JobId
| Constructor and Description | 
|---|
| JobIdPBImpl() | 
| JobIdPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.records.ApplicationId | getAppId()Get the associated ApplicationId which represents the 
 start time of the  ResourceManagerand is used to generate 
 the globally uniqueJobId. | 
| int | getId()Get the short integer identifier of the  JobIdwhich is unique for all applications started by a particular instance
 of theResourceManager. | 
| org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto | getProto() | 
| void | setAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId) | 
| void | setId(int id) | 
public JobIdPBImpl()
public JobIdPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto proto)
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto getProto()
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
JobIdResourceManager and is used to generate 
 the globally unique JobId.public void setAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId)
public int getId()
JobIdJobId
 which is unique for all applications started by a particular instance
 of the ResourceManager.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.