-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathservices.hbase.yml.tpl
More file actions
36 lines (33 loc) · 939 Bytes
/
services.hbase.yml.tpl
File metadata and controls
36 lines (33 loc) · 939 Bytes
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
version: "2"
services:
## hmaster
hmaster-${i}:
container_name: hmaster-${i}
networks: ["${network_name}"]
hostname: hmaster-${i}.${network_name}
image: smizy/hbase:1.2.6.1-alpine
expose: [16000]
ports: [16010]
environment:
- SERVICE_16000_NAME=hmaster
- SERVICE_16010_IGNORE=true
- HBASE_ZOOKEEPER_QUORUM=${ZOOKEEPER_QUORUM}
${SWARM_FILTER_HMASTER_${i}}
volumes_from:
- namenode-${i}
command: hmaster-${i}
##/ hmaster
## regionserver
regionserver-${i}:
container_name: regionserver-${i}
networks: ["${network_name}"]
hostname: regionserver-${i}.${network_name}
image: smizy/hbase:1.2.6.1-alpine
expose: [16020, 16030]
environment:
- SERVICE_16020_NAME=regionserver
- SERVICE_16030_IGNORE=true
- HBASE_ZOOKEEPER_QUORUM=${ZOOKEEPER_QUORUM}
${SWARM_FILTER_REGIONSERVER_${i}}
command: regionserver
##/ regionserver