项目作者: altiplanogao-clustering

项目描述 :
Run hadoop use docker
高级语言: Shell
项目地址: git://github.com/altiplanogao-clustering/docker-hadoop.git
创建时间: 2017-11-23T13:29:14Z
项目社区:https://github.com/altiplanogao-clustering/docker-hadoop

开源协议:Apache License 2.0

下载


Docker-hadoop

This project contains Dockerfiles for setting up a basic hadoop cluster.

Images

The project contains hadoop modules in corresponding directories:

Basic Hadoop image:

  • hadoop (All other images are built base on this image.)

HDFS images:

  • namenode
  • datanode

YARN images:

  • resourcemanager
  • nodemanager

Mapreduce images:

  • mapred
  • historyserver

Hadoop all-in-one image:

  • single

Spark image:

  • spark

Build images

Run command:

  1. ./build-all.sh

Hadoop Configuration:

Set container’s hadoop configuration by setting envirnment HADOOP_CONF_DATA

Example docker-compose.yml

There is a docker-compose.yml file provided to run demo examples.

Run with:

  1. docker-compose up

Destory with

  1. docker-compose down

Web ui

Node type URL
namenode: http://localhost:50070
datanode: http://localhost:50075
resourcemanager: http://localhost:8088
nodemanager: http://localhost:8042
job historyserver: http://localhost:19888
spark historyserver http://localhost:18080