Building Hadoop – download and build

    Before you build Hadoop, you need to download the version that you require.
    You can explore the SVN tree here:

    Since I was interested in the branch: “branch-20-append”, that is what I used in the following command:
    svn co hadoop-0.20-append

    Once it is downloaded, you need to create a file (if you want control over the naming of the archives that would be generated as a consequence of this exercise):
    cd hadoop-0.20-append/

    Insert the following:


    Save the file and then run:
    ant mvn-install

    This will generate the required file. You can search for these files with:
    find ~/.m2 -name "hadoop-*.jar"


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">