public class PlacementManager extends Object
Constructor and Description |
---|
PlacementManager() |
Modifier and Type | Method and Description |
---|---|
List<PlacementRule> |
getPlacementRules() |
ApplicationPlacementContext |
placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc,
String user) |
ApplicationPlacementContext |
placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc,
String user,
boolean recovery) |
void |
updateRules(List<PlacementRule> rules) |
public void updateRules(List<PlacementRule> rules)
public ApplicationPlacementContext placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc, String user, boolean recovery) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
public ApplicationPlacementContext placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc, String user) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
@VisibleForTesting public List<PlacementRule> getPlacementRules()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.