@InterfaceAudience.Public @InterfaceStability.Unstable public class ScalingAllocator extends Object implements org.apache.tez.runtime.common.resources.InitialMemoryAllocator
| Constructor and Description |
|---|
ScalingAllocator() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Long> |
assignMemory(long availableForAllocation,
int numTotalInputs,
int numTotalOutputs,
Iterable<org.apache.tez.runtime.common.resources.InitialMemoryRequestContext> requests) |
org.apache.hadoop.conf.Configuration |
getConf() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public Iterable<Long> assignMemory(long availableForAllocation, int numTotalInputs, int numTotalOutputs, Iterable<org.apache.tez.runtime.common.resources.InitialMemoryRequestContext> requests)
assignMemory in interface org.apache.tez.runtime.common.resources.InitialMemoryAllocatorpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2015 Apache Software Foundation. All rights reserved.