3ee20cbc09
* Handle Hadoop classpath better * Include proper support for Spark classpath * Formally limit element's use to Vanilla and Spark Change-Id: I65abd7e375dba11599a4ab943d24f878235cd71d Closes-Bug: #1727757 Closes-Bug: #1728061 |
||
---|---|---|
.. | ||
install.d | ||
root.d | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
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