Apache Hadoop 2.4.0 binary build for 64bit debian linux

At the time of writing this blog apache hadoop builds from the apache website are compiled for 32bit platforms. If you use this on a 64bit platform (with Java 64 bit) you might get some error messages regarding the shared library

libhadoop.so.1.0.0

I have now compiled hadoop 2.4.0 on debian 7.4 (wheezy) 64 bit.

With this version I didn’t get again this error message.

The error message is a bit misleading, but some other blogs as well as a small hint in the documentation page

Native library documentation

directed me to a compilation of hadoop from the source tarball. The build was straight forward with the command

mvn package -Pdist,native -DskipTests=true -Dtar

after installation of necessary packages that have been missing in my box:

For those who want to start directly with the tarball compiled for 64bit platforms find here my hadoop 2.4.0 bundle:

hadoop-2.4.0-64bit.tar.gz

 

 

 

2 thoughts on “Apache Hadoop 2.4.0 binary build for 64bit debian linux

  1. Hi Martin,

    After installing the the packages like gcc etc. what CLI should I pass for compiling the libhadoop.so.1.0.0?

    Also the link for hadoop 2.4.0 is throwing “404: Page not found error”

    Regards
    Ashish Saxena

Leave a Reply

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

This blog is kept spam free by WP-SpamFree.