sahara-image-elements/elements/hadoop
Zhuang Changkun 83224a6c5e Add support to build 3.0.1 image
Change-Id: I1d90099b22ed9a0ede08df45059e6d7848c237b8
2018-06-08 14:11:37 +08:00
..
install.d Add support to build 3.0.1 image 2018-06-08 14:11:37 +08:00
root.d Remove CentOS6/RHEL6 support 2018-05-15 18:22:50 +02:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml fix firstboot script 2016-12-22 08:58:20 +00:00
pkg-map fix firstboot script 2016-12-22 08:58:20 +00:00
README.rst drop vanilla 2.6.0 support from elements 2016-08-22 17:41:05 +03: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.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