@InterfaceAudience.Public @InterfaceStability.Unstable public class WeightedScalingMemoryDistributor extends Object implements org.apache.tez.runtime.common.resources.InitialMemoryAllocator
Modifier and Type | Class and Description |
---|---|
static class |
WeightedScalingMemoryDistributor.RequestType |
Constructor and Description |
---|
WeightedScalingMemoryDistributor() |
Modifier and Type | Method and Description |
---|---|
Iterable<Long> |
assignMemory(long availableForAllocation,
int numTotalInputs,
int numTotalOutputs,
Iterable<org.apache.tez.runtime.common.resources.InitialMemoryRequestContext> initialRequests) |
static String[] |
generateWeightStrings(int unsortedPartitioned,
int unsorted,
int broadcastIn,
int sortedOut,
int scatterGatherShuffleIn,
int proc,
int other) |
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> initialRequests)
assignMemory
in interface org.apache.tez.runtime.common.resources.InitialMemoryAllocator
public static String[] generateWeightStrings(int unsortedPartitioned, int unsorted, int broadcastIn, int sortedOut, int scatterGatherShuffleIn, int proc, int other)
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2016 Apache Software Foundation. All rights reserved.