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/


Discover more from Shekhar Gulati

Subscribe to get the latest posts sent to your email.

4 thoughts on “Hadoop Maven Archetype”

    1. I didn’t got why this is copied. I was googling the maven archetype I found maven archetype you have written and posted on my post. I have not copied the content or said in the blog that I have written the archetype. But still I will link to your post.My intention is to share this useful information.

      1. Thank you very much! Now people know where to report problems with the archetype so I can fix them.

Leave a reply to mafr Cancel reply