-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathfig-common.yml
127 lines (113 loc) · 2.6 KB
/
fig-common.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#HBase
#HMaster 60010 hbase.master.info.port
#HRegionServer 60030 hbase.regionserver.info.port
#hadoop集群
nn:
image: supermy/cloud-nn:cdh5
environment:
HOSTNAME_NN: mynn
ports:
- "50070:50070"
- "8020:8020"
- "8021:8021"
- "1022:22"
hostname: mynn
yarn:
image: supermy/cloud-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-dn:cdh5
links:
- nn:mynn
- yarn
environment:
HDFSNAMENODERPC_SERVICE_HOST: mynn
HDFSNAMENODERPC_SERVICE_PORT: 8020
ports:
- "50075:50075"
hostname: mydn1
dn2:
image: supermy/cloud-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-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-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-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