Skip to content

comoyi/docker-hadoop-cluster

Repository files navigation

docker-hadoop-cluster

Step by step

Get repository

git clone https://github.com/comoyi/docker-hadoop-cluster.git

Enter the directory

cd docker-hadoop-cluster

Build docker image

./build-image.sh

Run docker container

./run-container.sh

Get into container

docker exec -it hadoop-master bash

or

./init-tmux-session.sh

Start hadoop

./start-all.sh

Run word-count example

./word-count.sh

Open the browser on the host (not in docker)

./open-browser.sh

cluster http://127.0.0.1:8088

dfs http://127.0.0.1:9870

job http://127.0.0.1:19888

Other

Start docker container

./start-container.sh

Stop docker container

./stop-container.sh