This is a old blog. Lot of things have changed in OpenShift and I will write updated post in coming few weeks.
Month: July 2011
Hadoop Maven Archetype
Today, I found out the easiest way to generate a maven based Hadoop project using a maven archetype. This will generate a sample Hadoop project which uses hadoop version 0.20.2. The sample project also contains the famous WordCount example. To generate the maven project type following on the command line
mvn archetype:generate -DarchetypeCatalog=http://dev.mafr.de/repos/maven2/ -DgroupId=com.hadoop.example -DartifactId=hadoop-example
You can also get more information about the archetype at http://blog.mafr.de/2010/08/01/maven-archetype-hadoop/