sahara-image-elements/elements/hadoop/README.rst
Pino Toscano 939055eff0 Improvements to README.rst of elements
Improve the formatting of README.rst of elements:
- proper syntax for bash snippets
- improve list formatting
- use list definitions for environment variariables
- remove the explicit bash usage from diskimage-create.sh invocations
- wrap lines at 80 characters
- various small text formattings

Change-Id: I93b4c35b31dac66af22663b2cec426a08fa73bd8
2015-04-29 18:41:30 +02:00

666 B

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