public static interface InputSampler.Sampler<K,V>
InputFormat.| Modifier and Type | Method and Description |
|---|---|
K[] |
getSample(org.apache.hadoop.mapreduce.InputFormat<K,V> inf,
org.apache.hadoop.mapreduce.Job job)
For a given job, collect and return a subset of the keys from the
input data.
|
K[] getSample(org.apache.hadoop.mapreduce.InputFormat<K,V> inf, org.apache.hadoop.mapreduce.Job job) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.