Class ConstraintPlacementAlgorithmOutput
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.api.ConstraintPlacementAlgorithmOutput
Encapsulates the output of the ConstraintPlacementAlgorithm. The Algorithm
is free to produce multiple of output objects at the end of each run and it
must use the provided ConstraintPlacementAlgorithmOutputCollector to
aggregate/collect this output. Similar to the MapReduce Mapper/Reducer
which is provided a collector to collect output.
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintPlacementAlgorithmOutput(org.apache.hadoop.yarn.api.records.ApplicationId applicationId) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationId
-
Constructor Details
-
ConstraintPlacementAlgorithmOutput
public ConstraintPlacementAlgorithmOutput(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
-
-
Method Details
-
getPlacedRequests
-
getRejectedRequests
-
getApplicationId
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
-