sahara-image-elements/elements/hadoop
Vitaly Gridnev ec50d50387 drop vanilla 2.6.0 support from elements
we don't have vanilla 2.6.0 in supported list
in all current branches of sahara. we can
just drop that. if needed, stable/mitaka
branch should be used for building that image.

Change-Id: I81ed8209f2154f112fe7f6718029b84548793380
2016-08-22 17:41:05 +03:00
..
install.d drop vanilla 2.6.0 support from elements 2016-08-22 17:41:05 +03:00
root.d Drop hadoop/vanilla v1 images 2015-09-14 17:54:20 +02:00
README.rst drop vanilla 2.6.0 support from elements 2016-08-22 17:41:05 +03:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml hadoop: move scripts from post-install.d to install.d 2015-09-18 16:15:56 +02:00

README.rst

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

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

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

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