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
BspInputSplits |
public static List<org.apache.hadoop.mapreduce.InputSplit> getSplits(int numSplits) throws IOException, InterruptedException
BspInputSplitsnumSplits - How many splits to createBspInputSplitsIOExceptionInterruptedExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.