org.apache.whirr.examples
Class HadoopClusterExample
java.lang.Object
org.apache.whirr.examples.Example
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HadoopClusterExample
public HadoopClusterExample()
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-2013 The Apache Software Foundation. All Rights Reserved.