Files
iberezovskiy 44ba82ddfb Remove chown of /mnt directory
/mnt is always owned by root in vanilla images,
so we don't need to do chown.

Also execution "chown root:root /mnt" may be run
after plugin command "chown -R hadoop:hadoop /mnt"
sometimes (if plugin will make chown before rc.local script)
and then datanode can't be started.

Change-Id: If72308a9969fd9d1bf8bab58f8294b43fb292957
Partial-bug: #1324582
Closes-bug: #1295807
2014-06-02 14:45:13 +04:00
..

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