939055eff0
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
37 lines
666 B
ReStructuredText
37 lines
666 B
ReStructuredText
======
|
|
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:
|
|
|
|
.. code:: bash
|
|
|
|
wget http://archive.apache.org/dist/hadoop/core/hadoop-2.6.0/hadoop-2.6.0-src.tar.gz
|
|
|
|
- Unpack source:
|
|
|
|
.. code:: bash
|
|
|
|
tar xvf hadoop-2.6.0-src.tar.gz
|
|
|
|
- Build Hadoop:
|
|
|
|
.. code:: bash
|
|
|
|
cd hadoop-2.6.0-src
|
|
mvn package -Pdist,native -DskipTests
|
|
|
|
- Create tarball with Hadoop Native Libs:
|
|
|
|
.. code:: bash
|
|
|
|
cd hadoop-dist/target/hadoop-2.6.0/lib
|
|
tar -czvf hadoop-native-libs-2.6.0.tar.gz native
|