Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin85421/docker-compile-hadoop
Compile hadoop in docker container
https://github.com/kevin85421/docker-compile-hadoop
docker hadoop-compile hadoop-docker
Last synced: 7 days ago
JSON representation
Compile hadoop in docker container
- Host: GitHub
- URL: https://github.com/kevin85421/docker-compile-hadoop
- Owner: kevin85421
- Created: 2019-03-09T07:45:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T08:40:46.000Z (almost 6 years ago)
- Last Synced: 2024-12-05T17:43:38.048Z (17 days ago)
- Topics: docker, hadoop-compile, hadoop-docker
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compile hadoop in Docker container
* This image is the combination of [docker-hadoop](https://github.com/angelcervera/docker-hadoop) and [compile-hadoop](https://github.com/kiwenlau/compile-hadoop).
* **Compile hadoop 2.7.1** in docker container.
* This image is suitable for people who want to modify the hadoop source code (e.g. me lol)!# HOW TO START A CONTAINER ?
## Step1 : Clone this repo
## Step2 : Download hadoop source code
```
cd docker-compile-hadoop-master
wget http://archive.apache.org/dist/hadoop/core/hadoop-2.7.1/hadoop-2.7.1-src.tar.gz
tar -xzvf hadoop-2.7.1-src.tar.gz
```
## Step3 : Build the image
```
docker build -t my-hadoop/hadoop-docker:2.7.1 .
```
## Step4 : Start the container
```
docker run -itd my-hadoop/hadoop-docker:2.7.1 bash
```
# Feel free to contact with me! Enjoy it!