public class PreemptableQueue extends Object
Constructor and Description |
---|
PreemptableQueue(Map<String,org.apache.hadoop.yarn.api.records.Resource> totalKillableResources,
Map<String,Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer>> killableContainers) |
PreemptableQueue(PreemptableQueue parent) |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer>> |
getKillableContainers() |
org.apache.hadoop.yarn.api.records.Resource |
getKillableResource(String partition) |
public PreemptableQueue(PreemptableQueue parent)
public org.apache.hadoop.yarn.api.records.Resource getKillableResource(String partition)
public Map<String,Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer>> getKillableContainers()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.