Uses of Class
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
Packages that use AllocateResponse
Package
Description
Public api for Application Master Service interceptors.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of AllocateResponse in org.apache.hadoop.yarn.ams
Methods in org.apache.hadoop.yarn.ams with parameters of type AllocateResponseModifier and TypeMethodDescriptionstatic voidApplicationMasterServiceUtils.addToAllocatedContainers(AllocateResponse allocateResponse, List<Container> allocatedContainers) Add allocated containers toAllocateResponse.static voidApplicationMasterServiceUtils.addToRejectedSchedulingRequests(AllocateResponse allocateResponse, List<RejectedSchedulingRequest> rejectedRequests) Add rejected Scheduling Requests toAllocateResponse.static voidApplicationMasterServiceUtils.addToUpdateContainerErrors(AllocateResponse allocateResponse, List<UpdateContainerError> updateContainerErrors) Add update container errors toAllocateResponse.static voidApplicationMasterServiceUtils.addToUpdatedContainers(AllocateResponse allocateResponse, ContainerUpdateType updateType, List<Container> updatedContainers) Add updated containers toAllocateResponse.voidApplicationMasterServiceProcessor.allocate(ApplicationAttemptId appAttemptId, AllocateRequest request, AllocateResponse response) Allocate call. -
Uses of AllocateResponse in org.apache.hadoop.yarn.api
Methods in org.apache.hadoop.yarn.api that return AllocateResponseModifier and TypeMethodDescriptionApplicationMasterProtocol.allocate(AllocateRequest request) The main interface between anApplicationMasterand theResourceManager. -
Uses of AllocateResponse in org.apache.hadoop.yarn.api.protocolrecords
Methods in org.apache.hadoop.yarn.api.protocolrecords that return AllocateResponseModifier and TypeMethodDescriptionAllocateResponse.AllocateResponseBuilder.build()Return generatedAllocateResponseobject.static AllocateResponseAllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens) static AllocateResponseAllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, CollectorInfo collectorInfo) static AllocateResponseAllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers) static AllocateResponseAllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo) static AllocateResponseAllocateResponse.newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo, EnhancedHeadroom enhancedHeadroom)