This project has retired. For details please refer to its Attic page.

org.apache.whirr.examples
Class HadoopClusterExample

java.lang.Object
  extended by org.apache.whirr.examples.Example
      extended by org.apache.whirr.examples.HadoopClusterExample

public class HadoopClusterExample
extends Example

This class shows how you should use Whirr to start a Hadoop cluster and submit a mapreduce job. The code was extracted from the Hadoop integration tests.


Constructor Summary
HadoopClusterExample()
           
 
Method Summary
 String getName()
           
 int main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopClusterExample

public HadoopClusterExample()
Method Detail

getName

public String getName()
Specified by:
getName in class Example

main

public int main(String[] args)
         throws Exception
Specified by:
main in class Example
Throws:
Exception


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.