2024-02-06 14:47:59 +05:30
2024-01-29 23:25:05 +05:30
2024-01-28 22:13:32 +05:30
2024-02-06 14:47:59 +05:30
2024-01-30 15:01:53 +05:30
2024-01-28 22:13:32 +05:30
2024-01-28 22:13:32 +05:30
2024-02-02 15:02:07 +05:30
2024-01-28 22:13:32 +05:30
2024-01-28 22:13:32 +05:30

Hadoop on Docker

Use this to get a quick version of Hadoop to run on Docker.

  1. Install Docker on your host PC

  2. Clone your platform specific branch of this repository

# Windows
git clone -b windows --single-branch https://github.com/silicoflare/docker-hadoop

# Mac
git clone -b mac --single-branch https://github.com/silicoflare/docker-hadoop

# Linux
git clone -b linux --single-branch https://github.com/silicoflare/docker-hadoop

  1. Navigate to the directory
cd docker-hadoop

  1. Build the docker image (you may need to use sudo)
docker build -t hadoop .

  1. Wait for the build to finish

  2. Create a new container using the newly created image

docker run -it -p 9870:9870 -p 8088:8088 -p 9864:9864 --name anyname hadoop bash

  1. Once the prompt appears, execute the following command to initialize everything:
init

  1. From the next time, just run this to open the prompt. Use the same name that you used to create the container.
docker start anyname
docker exec -it anyname bash

Once in, execute:

restart
Description
A Docker image containing necessary tools for Big Data
Readme 93 KiB
Languages
Dockerfile 71.1%
Shell 28.9%