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/
4 thoughts on “Hadoop Maven Archetype”
dingue soumission pleinement pour tout. votre site le Net est tout sans façon effroyable et étonnant
I would have appreciated a link to my blog from where you copied this.
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.
Thank you very much! Now people know where to report problems with the archetype so I can fix them.