public class JobIdPBImpl extends JobId
Constructor and Description |
---|
JobIdPBImpl() |
JobIdPBImpl(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
ResourceManager and is used to generate
the globally unique JobId . |
int |
getId()
Get the short integer identifier of the
JobId
which is unique for all applications started by a particular instance
of the ResourceManager . |
MRProtos.JobIdProto |
getProto() |
void |
setAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
void |
setId(int id) |
public JobIdPBImpl()
public JobIdPBImpl(MRProtos.JobIdProto proto)
public MRProtos.JobIdProto getProto()
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
JobId
ResourceManager
and is used to generate
the globally unique JobId
.public void setAppId(org.apache.hadoop.yarn.api.records.ApplicationId appId)
public int getId()
JobId
JobId
which is unique for all applications started by a particular instance
of the ResourceManager
.Copyright © 2008–2021 Apache Software Foundation. All rights reserved.