Package org.apache.hadoop.examples

Hadoop example code.

See:
          Description

Class Summary
ExampleDriver  
Grep  
NNBench This program uses map/reduce to just run a distributed job where there is no interaction between the tasks and each task creates 1M/NTasks files of 8 bytes each, closes them.
NNBench.Map  
PiBenchmark A Map-reduce program to estimaate the valu eof Pi using monte-carlo method.
PiBenchmark.PiMapper Mappper class for Pi estimation.
PiBenchmark.PiReducer  
RandomWriter This program uses map/reduce to just run a distributed job where there is no interaction between the tasks and each task write a large unsorted random binary sequence file of BytesWritable.
RandomWriter.Map  
Sort This is the trivial map/reduce program that does absolutely nothing other than use the framework to fragment and sort the input values.
WordCount This is an example Hadoop Map/Reduce application.
WordCount.MapClass Counts the words in each line.
WordCount.Reduce A reducer class that just emits the sum of the input values.
 

Package org.apache.hadoop.examples Description

Hadoop example code.



Copyright © 2006 The Apache Software Foundation