org.apache.hadoop.examples
Class RandomWriter

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

public class RandomWriter
extends Object

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.

Author:
Owen O'Malley

Constructor Summary
RandomWriter()
           
 
Method Summary
static void main(String[] args)
          This is the main routine for launching a distributed random write job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomWriter

public RandomWriter()
Method Detail

main

public static void main(String[] args)
                 throws IOException
This is the main routine for launching a distributed random write job. It runs 10 maps/node and each node writes 1 gig of data to a DFS file. The reduce doesn't do anything.

Throws:
IOException


Copyright © 2006 The Apache Software Foundation