-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
93 lines (84 loc) · 2.14 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
version: "3.7"
services:
namenode:
image: timveil/docker-hadoop-namenode:2.8.x
container_name: namenode
hostname: namenode
environment:
- CLUSTER_NAME=hive-2.3.x
env_file:
- core.env
- yarn-remote.env
ports:
- "50070:50070"
datanode:
image: timveil/docker-hadoop-datanode:2.8.x
container_name: datanode
hostname: datanode
environment:
- SERVICE_PRECONDITION=namenode:50070
env_file:
- core.env
- yarn-remote.env
ports:
- "50075:50075"
resourcemanager:
image: timveil/docker-hadoop-resourcemanager:2.8.x
container_name: resourcemanager
hostname: resourcemanager
environment:
- SERVICE_PRECONDITION=namenode:50070 datanode:50075
env_file:
- core.env
- yarn-resource-manager.env
ports:
- "8088:8088"
nodemanager:
image: timveil/docker-hadoop-nodemanager:2.8.x
container_name: nodemanager
hostname: nodemanager
environment:
- SERVICE_PRECONDITION=namenode:50070 datanode:50075 resourcemanager:8088
env_file:
- core.env
- yarn-node-manager.env
ports:
- "8042:8042"
historyserver:
image: timveil/docker-hadoop-historyserver:2.8.x
container_name: historyserver
hostname: historyserver
environment:
- SERVICE_PRECONDITION=namenode:50070 datanode:50075 resourcemanager:8088
env_file:
- core.env
- yarn-timeline.env
ports:
- "8188:8188"
hs2:
image: timveil/docker-hadoop-hive-hs2:2.3.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:2.3.x
container_name: metastore
hostname: metastore
environment:
- SERVICE_PRECONDITION=namenode:50070 datanode:50075 metastore-db:5432
env_file:
- core.env
- yarn-remote.env
- hive.env
metastore-db:
image: timveil/docker-hadoop-hive-metastore-db:2.3.x
container_name: metastore-db
hostname: metastore-db