Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Forked from SequenceIQ.

Build the image

If you'd like to try directly from the Dockerfile you can build the image as:

docker build  -t bernieai/docker-hadoop:2.6.0 .

Pull the image

The image is also released as an official Docker image from Docker's automated build repository - you can always pull or refer the image when launching containers.

docker pull bernieai/docker-hadoop:2.6.0

Start a container

In order to use the Docker image you have just build or pulled use:

docker run -i -t bernieai/docker-hadoop:2.6.0 /etc/bootstrap.sh -bash

Testing

You can run one of the stock examples:

cd $HADOOP_PREFIX
# run the mapreduce
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar grep input output 'dfs[a-z.]+'

# check the output
bin/hdfs dfs -cat output/*

Hadoop native libraries, build, Bintray, etc

The Hadoop build process is no easy task - requires lots of libraries and their right version, protobuf, etc and takes some time - SequenceIQ has simplified all these, made the build and released a 64b version of Hadoop nativelibs on this Bintray repo. Enjoy.

Docker Pull Command
Owner
bernieai