项目作者: kevin85421

项目描述 :
Compile hadoop in docker container
高级语言: Dockerfile
项目地址: git://github.com/kevin85421/docker-compile-hadoop.git
创建时间: 2019-03-09T07:45:08Z
项目社区:https://github.com/kevin85421/docker-compile-hadoop

开源协议:

下载


Compile hadoop in Docker container

  • This image is the combination of docker-hadoop and 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

  1. cd docker-compile-hadoop-master
  2. wget http://archive.apache.org/dist/hadoop/core/hadoop-2.7.1/hadoop-2.7.1-src.tar.gz
  3. tar -xzvf hadoop-2.7.1-src.tar.gz

Step3 : Build the image

  1. docker build -t my-hadoop/hadoop-docker:2.7.1 .

Step4 : Start the container

  1. docker run -itd my-hadoop/hadoop-docker:2.7.1 bash

Feel free to contact with me! Enjoy it!