Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Modifier and Type | Method and Description |
---|---|
abstract List<NMToken> |
AllocateResponse.getNMTokens()
Get the list of NMTokens required for communicating with NM.
|
abstract List<NMToken> |
RegisterApplicationMasterResponse.getNMTokensFromPreviousAttempts()
Get the list of NMTokens for communicating with the NMs where the
containers of previous application attempts are running.
|
Modifier and Type | Method and Description |
---|---|
static AllocateResponse |
AllocateResponse.newInstance(int responseId,
List<ContainerStatus> completedContainers,
List<Container> allocatedContainers,
List<NodeReport> updatedNodes,
Resource availResources,
AMCommand command,
int numClusterNodes,
PreemptionMessage preempt,
List<NMToken> nmTokens) |
static AllocateResponse |
AllocateResponse.newInstance(int responseId,
List<ContainerStatus> completedContainers,
List<Container> allocatedContainers,
List<NodeReport> updatedNodes,
Resource availResources,
AMCommand command,
int numClusterNodes,
PreemptionMessage preempt,
List<NMToken> nmTokens,
List<org.apache.hadoop.yarn.api.records.ContainerResourceIncrease> increasedContainers,
List<org.apache.hadoop.yarn.api.records.ContainerResourceDecrease> decreasedContainers)
Deprecated.
|
static AllocateResponse |
AllocateResponse.newInstance(int responseId,
List<ContainerStatus> completedContainers,
List<Container> allocatedContainers,
List<NodeReport> updatedNodes,
Resource availResources,
AMCommand command,
int numClusterNodes,
PreemptionMessage preempt,
List<NMToken> nmTokens,
List<UpdatedContainer> updatedContainers) |
Copyright © 2017 Apache Software Foundation. All rights reserved.