sahara-image-elements/elements/hadoop
iberezovskiy 0580bbe7d7 Modify whole java element to support JAVA_TARGET_LOCATION
This patch modifies the common "java" element in order to allow
users to specify the directory that will contain the JDK install
and this support is for all install types now.

Change-Id: I5ba04ba5e22c7f5f5a6455669bbe8509c042a893
2014-05-19 13:32:22 +04:00
..
post-install.d Modify whole java element to support JAVA_TARGET_LOCATION 2014-05-19 13:32:22 +04:00
root.d Allow for install of distro native java 2013-09-12 08:43:30 -04:00
README.md Add inject hadoop native libs to vanilla hadoop 2 2014-04-10 17:40:49 +04:00
element-deps Renaming all Savanna references to Sahara 2014-03-13 15:26:47 +04:00

README.md

Installs Java and Hadoop, configures SSH

HOWTO build Hadoop Native Libs

  • Install: jdk >= 6, maven, cmake and protobuf >= 2.5.0
  • Get Hadoop source code:
$ wget http://archive.apache.org/dist/hadoop/core/hadoop-2.3.0/hadoop-2.3.0-src.tar.gz
  • Unpack source
$ tar xvf hadoop-2.3.0-src.tar.gz
  • Build Hadoop
$ cd hadoop-2.3.0-src
$ mvn package -Pdist,native -DskipTests
  • Create tarball with Hadoop Native Libs
$ cd hadoop-dist/target/hadoop-2.3.0/lib
$ tar -czvf hadoop-native-libs-2.3.0.tar.gz native