1 Star 1 Fork 72

liqianjie/hadoop-docker-nn

forked from supermy/hadoop-docker-nn 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fig.yml 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
supermy 提交于 2015-07-01 17:05 . 自动构造镜像完善脚本
#HBase
#HMaster 60010 hbase.master.info.port
#HRegionServer 60030 hbase.regionserver.info.port
#hadoop集群
nn:
image: supermy/cloud-snappy-spark-nn:cdh5
environment:
HOSTNAME_NN: mynn
ports:
- "50070:50070"
- "8020:8020"
- "8021:8021"
- "1022:22"
hostname: mynn
yarn:
image: supermy/cloud-snappy-spark-yarn:cdh5
links:
- nn:mynn
environment:
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ports:
- "8088:8088"
- "19888:19888"
hostname: yarn
dn1:
image: supermy/cloud-snappy-spark-dn:cdh5
links:
- nn:mynn
- yarn
environment:
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ports:
- "50075:50075"
hostname: mydn1
dn2:
image: supermy/cloud-snappy-spark-dn:cdh5
links:
- nn:mynn
- yarn
environment:
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ports:
- "50076:50075"
hostname: mydn2
zk:
image: jplock/zookeeper:latest
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
hb:
image: supermy/cloud-snappy-spark-hb:cdh5
links:
- nn:mynn
- dn1:mydn1
- dn2:mydn2
- zk:zookeeper1
environment:
#HBASEMASTERIPC_SERVICE_PORT: 60000
HBASEMASTERIPC_SERVICE_PORT_SERVICE_PORT: 60000
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ZOOKEEPERCLIENT_SERVICE_HOST: zookeeper1
ZOOKEEPERCLIENT_SERVICE_PORT: 2181
ports:
- "60010:60010"
hostname: hbasemasteripc
rs:
image: supermy/cloud-snappy-spark-rs:cdh5
links:
- nn:mynn
- dn1:mydn1
- dn2:mydn2
- zk:zookeeper2
- hb:hbasemasteripc
environment:
HBASEMASTERIPC_SERVICE_HOST: hbasemasteripc
HBASEMASTERIPC_SERVICE_PORT: 60010
HBASEMASTERIPC_SERVICE_PORT_SERVICE_PORT: 60000
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ZOOKEEPERCLIENT_SERVICE_HOST: zookeeper2
ZOOKEEPERCLIENT_SERVICE_PORT: 2181
ports:
- "60030:60030"
hostname: hregionserver1
initdb:
image: supermy/cloud-snappy-spark-initdb:cdh5
links:
- nn:mynn
- dn1:mydn1
- dn2:mydn2
- zk:zookeeper2
- hb:hbasemasteripc
environment:
HBASEMASTERIPC_SERVICE_HOST: hbasemasteripc
HBASEMASTERIPC_SERVICE_PORT: 60010
HBASEMASTERIPC_SERVICE_PORT_SERVICE_PORT: 60000
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ZOOKEEPERCLIENT_SERVICE_HOST: zookeeper2
ZOOKEEPERCLIENT_SERVICE_PORT: 2181
hostname: hregionserver1
#web namenode http://192.168.59.103:50075/
#web hbase #web http://192.168.59.103:60010/
#web regionserver http://192.168.59.103:60030/
#298 HRegionServer
#296 HMaster
#164 NameNode 测试ok
#31 DataNode
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/liqianjie/hadoop-docker-nn.git
git@gitee.com:liqianjie/hadoop-docker-nn.git
liqianjie
hadoop-docker-nn
hadoop-docker-nn
master

搜索帮助