public class PlacementManager extends Object
Constructor and Description |
---|
PlacementManager() |
Modifier and Type | Method and Description |
---|---|
List<PlacementRule> |
getPlacementRules() |
void |
placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc,
String user) |
void |
updateRules(List<PlacementRule> rules) |
public void updateRules(List<PlacementRule> rules)
public void placeApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext asc, String user) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
public List<PlacementRule> getPlacementRules()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.