org.apache.hadoop.examples
Class PiBenchmark

java.lang.Object
  extended by org.apache.hadoop.examples.PiBenchmark

public class PiBenchmark
extends Object

A Map-reduce program to estimaate the valu eof Pi using monte-carlo method.

Author:
Milind Bhandarkar

Nested Class Summary
static class PiBenchmark.PiMapper
          Mappper class for Pi estimation.
static class PiBenchmark.PiReducer
           
 
Constructor Summary
PiBenchmark()
           
 
Method Summary
static void main(String[] argv)
          Launches all the tasks in order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PiBenchmark

public PiBenchmark()
Method Detail

main

public static void main(String[] argv)
                 throws Exception
Launches all the tasks in order.

Throws:
Exception


Copyright © 2006 The Apache Software Foundation