代码拉取完成,页面将自动刷新
version: "3"
services:
namenode:
image: reg.dp.com:5000/docker-hadoop-namenode:v2.7.6
hostname: namenode
volumes:
- namenode_sshfs:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop-hive.env
ports:
- "50070:50070"
- "8020:8020"
datanode:
image: reg.dp.com:5000/docker-hadoop-datanode:v2.7.6
hostname: datanode
volumes:
- datanode_sshfs:/hadoop/dfs/data
env_file:
- ./hadoop-hive.env
environment:
SERVICE_PRECONDITION: "namenode:50070"
ports:
- "50075:50075"
extra_hosts:
- "namenode:192.168.3.200"
hive-server:
image: reg.dp.com:5000/docker-hive:v2.3.2-hadoop2.7.6
env_file:
- ./hadoop-hive.env
environment:
HIVE_CORE_CONF_javax_jdo_option_ConnectionURL: "jdbc:postgresql://hive-metastore/metastore"
SERVICE_PRECONDITION: "hive-metastore:9083"
ports:
- "10000:10000"
hive-metastore:
image: reg.dp.com:5000/docker-hive:v2.3.2-hadoop2.7.6
env_file:
- ./hadoop-hive.env
command: /opt/hive/bin/hive --service metastore
environment:
SERVICE_PRECONDITION: "namenode:50070 datanode:50075 hive-metastore-postgresql:5432"
ports:
- "9083:9083"
hive-metastore-postgresql:
image: reg.dp.com:5000/docker-hive-metastore-postgresql:v2.3.0
volumes:
namenode_sshfs:
driver: vieux/sshfs:latest
driver_opts:
sshcmd: "root@192.168.3.201:/sshfs/namenode"
password: "10011001"
allow_other: ""
datanode_sshfs:
driver: vieux/sshfs:latest
driver_opts:
sshcmd: "root@192.168.3.201:/sshfs/datanode"
password: "10011001"
allow_other: ""
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。