-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
94 lines (85 loc) · 2.15 KB
/
docker-compose.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
version: "3.7"
services:
namenode:
image: timveil/docker-hadoop-namenode:3.2.x
container_name: namenode
hostname: namenode
environment:
- CLUSTER_NAME=hive-3.1.x
env_file:
- core.env
- yarn-remote.env
ports:
- "9870:9870"
datanode:
image: timveil/docker-hadoop-datanode:3.2.x
container_name: datanode
hostname: datanode
environment:
- SERVICE_PRECONDITION=namenode:9870
env_file:
- core.env
- yarn-remote.env
ports:
- "9864:9864"
resourcemanager:
image: timveil/docker-hadoop-resourcemanager:3.2.x
container_name: resourcemanager
hostname: resourcemanager
environment:
- SERVICE_PRECONDITION=namenode:9870 datanode:9864
env_file:
- core.env
- yarn-resource-manager.env
ports:
- "8088:8088"
nodemanager:
image: timveil/docker-hadoop-nodemanager:3.2.x
container_name: nodemanager
hostname: nodemanager
environment:
- SERVICE_PRECONDITION=namenode:9870 datanode:9864 resourcemanager:8088
env_file:
- core.env
- yarn-node-manager.env
ports:
- "8042:8042"
historyserver:
image: timveil/docker-hadoop-historyserver:3.2.x
container_name: historyserver
hostname: historyserver
environment:
- SERVICE_PRECONDITION=namenode:9870 datanode:9864 resourcemanager:8088
env_file:
- core.env
- yarn-timeline.env
ports:
- "8188:8188"
hs2:
image: timveil/docker-hadoop-hive-hs2:3.1.x
container_name: hs2
hostname: hs2
environment:
- SERVICE_PRECONDITION=metastore:9083
env_file:
- core.env
- yarn-remote.env
- hive.env
ports:
- "10000:10000"
- "10002:10002"
metastore:
image: timveil/docker-hadoop-hive-metastore:3.1.x
container_name: metastore
hostname: metastore
environment:
- SERVICE_PRECONDITION=namenode:9870 datanode:9864 metastore-db:5432
env_file:
- core.env
- yarn-remote.env
- hive.env
- metastore.env
metastore-db:
image: timveil/docker-hadoop-hive-metastore-db:3.1.x
container_name: metastore-db
hostname: metastore-db