alvinhenrick/hadoop-mutinode
https://github.com/alvinhenrick/hadoop-mutinode
Sart the containers.
Change directory to hadoop-mutinode.
Run ./start-cluster.sh
On BASH shell prompt Run /usr/local/hadoop/bin/start-hadoop.sh
After startup on prompt type su - hduser
Run jps
Run hdfs dfs -ls /
基于Docker搭建多节点Hadoop集群 | KiwenLau http://kiwenlau.com/2015/06/08/150608-hadoop-cluster-docker/
我的项目参考了alvinhenrick/hadoop-mutinode项目,不过我做了大量的优化和重构。alvinhenrick/hadoop-mutinode项目的Github主页以及作者所写的博客地址:GitHub,博客