Run hadoop use docker
This project contains Dockerfiles for setting up a basic hadoop cluster.
The project contains hadoop modules in corresponding directories:
Run command:
./build-all.sh
Set container’s hadoop configuration by setting envirnment HADOOP_CONF_DATA
There is a docker-compose.yml file provided to run demo examples.
Run with:
docker-compose up
Destory with
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 |