public class DistributedSchedulingAllocateRequestPBImpl extends DistributedSchedulingAllocateRequest
DistributedSchedulingAllocateRequest
.Constructor and Description |
---|
DistributedSchedulingAllocateRequestPBImpl() |
DistributedSchedulingAllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto proto) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.yarn.api.records.Container> |
getAllocatedContainers()
Get the list of newly allocated
Container by the
Distributed Scheduling component on the NodeManager. |
org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest |
getAllocateRequest()
Get the underlying
AllocateRequest object. |
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto |
getProto() |
void |
setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> pContainers)
Set the list of newly allocated
Container by the
Distributed Scheduling component on the NodeManager. |
void |
setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest pAllocateRequest)
Set the underlying
AllocateRequest object. |
public DistributedSchedulingAllocateRequestPBImpl()
public DistributedSchedulingAllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto proto)
public org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest getAllocateRequest()
DistributedSchedulingAllocateRequest
AllocateRequest
object.getAllocateRequest
in class DistributedSchedulingAllocateRequest
public void setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest pAllocateRequest)
DistributedSchedulingAllocateRequest
AllocateRequest
object.setAllocateRequest
in class DistributedSchedulingAllocateRequest
pAllocateRequest
- Allocate requestpublic List<org.apache.hadoop.yarn.api.records.Container> getAllocatedContainers()
DistributedSchedulingAllocateRequest
Container
by the
Distributed Scheduling component on the NodeManager.getAllocatedContainers
in class DistributedSchedulingAllocateRequest
Container
public void setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> pContainers)
DistributedSchedulingAllocateRequest
Container
by the
Distributed Scheduling component on the NodeManager.setAllocatedContainers
in class DistributedSchedulingAllocateRequest
pContainers
- list of newly allocated Container
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateRequestProto getProto()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.