sahara-image-elements/elements/hadoop
Pino Toscano 5e936d63d1 Drop hadoop/vanilla v1 images
Drop support for generating vanilla/hadoop v1 images.  This version is
deprecated in Sahara, and the support for going to be removed soon.

Partially-implements bp: drop-hadoop-1

Change-Id: I7b0d36d255a783057c7c5876017653e0f28f83de
2015-09-14 17:54:20 +02:00
..
post-install.d Drop hadoop/vanilla v1 images 2015-09-14 17:54:20 +02:00
root.d Drop hadoop/vanilla v1 images 2015-09-14 17:54:20 +02:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
README.rst Improvements to README.rst of elements 2015-04-29 18:41:30 +02:00

hadoop

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.6.0/hadoop-2.6.0-src.tar.gz
  • Unpack source:

    tar xvf hadoop-2.6.0-src.tar.gz
  • Build Hadoop:

    cd hadoop-2.6.0-src
    mvn package -Pdist,native -DskipTests
  • Create tarball with Hadoop Native Libs:

    cd hadoop-dist/target/hadoop-2.6.0/lib
    tar -czvf hadoop-native-libs-2.6.0.tar.gz native