public class PseudoRandomUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(int numSplits)
Create desired number of
BspInputSplit s |
public static List<org.apache.hadoop.mapreduce.InputSplit> getSplits(int numSplits) throws IOException, InterruptedException
BspInputSplit
snumSplits
- How many splits to createBspInputSplit
sIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.