@InterfaceAudience.Public @InterfaceStability.Evolving public class TezMapReduceSplitsGrouper extends TezSplitGrouper
TezGroupedSplit
to wrap the each group of real InputSplitsModifier and Type | Class and Description |
---|---|
static class |
TezMapReduceSplitsGrouper.TezMRSplitsGrouperConfigBuilder
Deprecated.
|
TEZ_GROUPING_NODE_LOCAL_ONLY, TEZ_GROUPING_NODE_LOCAL_ONLY_DEFAULT
Constructor and Description |
---|
TezMapReduceSplitsGrouper() |
Modifier and Type | Method and Description |
---|---|
static TezMapReduceSplitsGrouper.TezMRSplitsGrouperConfigBuilder |
createConfigBuilder(org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
List<org.apache.hadoop.mapreduce.InputSplit> |
getGroupedSplits(org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.mapreduce.InputSplit> originalSplits,
int desiredNumSplits,
String wrappedInputFormatName) |
List<org.apache.hadoop.mapreduce.InputSplit> |
getGroupedSplits(org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.mapreduce.InputSplit> originalSplits,
int desiredNumSplits,
String wrappedInputFormatName,
SplitSizeEstimator estimator) |
List<org.apache.hadoop.mapreduce.InputSplit> |
getGroupedSplits(org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.mapreduce.InputSplit> originalSplits,
int desiredNumSplits,
String wrappedInputFormatName,
SplitSizeEstimator estimator,
SplitLocationProvider locationProvider) |
getGroupedSplits, newConfigBuilder
@Deprecated public static final String TEZ_GROUPING_SPLIT_COUNT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_SPLIT_BY_LENGTH
TezSplitGrouper
@Deprecated public static final boolean TEZ_GROUPING_SPLIT_BY_LENGTH_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_SPLIT_BY_COUNT
TezSplitGrouper
@Deprecated public static final boolean TEZ_GROUPING_SPLIT_BY_COUNT_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_SPLIT_WAVES
TezSplitGrouper
@Deprecated public static final float TEZ_GROUPING_SPLIT_WAVES_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_SPLIT_MAX_SIZE
TezSplitGrouper
@Deprecated public static final long TEZ_GROUPING_SPLIT_MAX_SIZE_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_SPLIT_MIN_SIZE
TezSplitGrouper
@Deprecated public static final long TEZ_GROUPING_SPLIT_MIN_SIZE_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_RACK_SPLIT_SIZE_REDUCTION
TezSplitGrouper
@Deprecated public static final float TEZ_GROUPING_RACK_SPLIT_SIZE_REDUCTION_DEFAULT
TezSplitGrouper
@Deprecated public static final String TEZ_GROUPING_REPEATABLE
TezSplitGrouper
@Deprecated public static final boolean TEZ_GROUPING_REPEATABLE_DEFAULT
TezSplitGrouper
public List<org.apache.hadoop.mapreduce.InputSplit> getGroupedSplits(org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.mapreduce.InputSplit> originalSplits, int desiredNumSplits, String wrappedInputFormatName) throws IOException, InterruptedException
IOException
InterruptedException
public List<org.apache.hadoop.mapreduce.InputSplit> getGroupedSplits(org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.mapreduce.InputSplit> originalSplits, int desiredNumSplits, String wrappedInputFormatName, SplitSizeEstimator estimator) throws IOException, InterruptedException
IOException
InterruptedException
public List<org.apache.hadoop.mapreduce.InputSplit> getGroupedSplits(org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.mapreduce.InputSplit> originalSplits, int desiredNumSplits, String wrappedInputFormatName, SplitSizeEstimator estimator, SplitLocationProvider locationProvider) throws IOException, InterruptedException
IOException
InterruptedException
@Deprecated public static TezMapReduceSplitsGrouper.TezMRSplitsGrouperConfigBuilder createConfigBuilder(org.apache.hadoop.conf.Configuration conf)
TezSplitGrouper.newConfigBuilder(Configuration)
conf
- Configuration
This will be modified in place. If
configuration values may be changed at runtime via a config file
then pass in a Configuration
that is initialized from a
config file. The parameters that are not overridden in code will
be derived from the Configuration object.TezMapReduceSplitsGrouper.TezMRSplitsGrouperConfigBuilder
Copyright © 2019 Apache Software Foundation. All rights reserved.