-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathservices.hbase.yml.tpl
More file actions
53 lines (49 loc) · 1.39 KB
/
services.hbase.yml.tpl
File metadata and controls
53 lines (49 loc) · 1.39 KB
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
version: "2"
services:
## hmaster
hmaster-${i}:
container_name: hmaster-${i}
networks: ["${network_name}"]
hostname: hmaster-${i}.${network_name}
image: smizy/hbase:1.2.8-alpine
expose: [16000]
ports: [16010]
depends_on: ["zookeeper-1"]
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.8-alpine
expose: [16020, 16030]
depends_on: ["zookeeper-1"]
environment:
- SERVICE_16020_NAME=regionserver
- SERVICE_16030_IGNORE=true
- HBASE_ZOOKEEPER_QUORUM=${ZOOKEEPER_QUORUM}
${SWARM_FILTER_REGIONSERVER_${i}}
command: regionserver
##/ regionserver
## hbasethrift
hbasethrift-${i}:
container_name: hbasethrift-${i}
networks: ["${network_name}"]
hostname: hbasethift-${i}.${network_name}
image: smizy/hbase:1.2.8-alpine
ports: [9090]
depends_on: ["regionserver-1"]
environment:
- SERVICE_9090_NAME=hbasethirft
- HBASE_ZOOKEEPER_QUORUM=${ZOOKEEPER_QUORUM}
${SWARM_FILTER_HBASETHRIFT_${i}}
command: thrift
##/ hbasethirft