forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
24 lines (24 loc) · 935 Bytes
/
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
version: '2'
services:
hadoop-master:
hostname: hadoop-master
image: '${HADOOP_BASE_IMAGE}:${DOCKER_IMAGES_VERSION}'
ports:
- '1180:1180'
- '8020:8020' # Default hadoop namenode port
- '8042:8042'
- '8088:8088'
- '9000:9000' # Default hadoop namenode port
- '9083:9083' # Metastore Thrift
- '9864:9864' # DataNode Web UI since Hadoop 3
- '9870:9870' # NameNode Web UI since Hadoop 3
- '10000:10000' # HiveServer2
- '19888:19888'
- '50070:50070' # NameNode Web UI prior to Hadoop 3
- '50075:50075' # DataNode Web UI prior to Hadoop 3
volumes:
- ../../presto-hive/src/test/sql:/files/sql:ro
- ./files/words:/usr/share/dict/words:ro
- ./files/core-site.xml.s3-template:/etc/hadoop/conf/core-site.xml.s3-template:ro
- ./files/hive-site.xml.s3-template:/etc/hive/conf/hive-site.xml.s3-template:ro
- ./files:/tmp/files:ro