org.apache.hadoop.mapred.lib
Class InputSampler<K,V>

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.mapreduce.lib.partition.InputSampler<K,V>
          extended by org.apache.hadoop.mapred.lib.InputSampler<K,V>
All Implemented Interfaces:
Configurable, Tool

@InterfaceAudience.Public
@InterfaceStability.Stable
public class InputSampler<K,V>
extends InputSampler<K,V>


Constructor Summary
InputSampler(JobConf conf)
           
 
Method Summary
static
<K,V> void
writePartitionFile(JobConf job, org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler<K,V> sampler)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.partition.InputSampler
main, run, writePartitionFile
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

InputSampler

public InputSampler(JobConf conf)
Method Detail

writePartitionFile

public static <K,V> void writePartitionFile(JobConf job,
                                            org.apache.hadoop.mapreduce.lib.partition.InputSampler.Sampler<K,V> sampler)
                               throws IOException,
                                      ClassNotFoundException,
                                      InterruptedException
Throws:
IOException
ClassNotFoundException
InterruptedException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.