Skip to content

Commit

Permalink
No more namenode:9000 error messages
Browse files Browse the repository at this point in the history
Thanks Chris!
  • Loading branch information
Marcel-Jan authored Feb 17, 2021
1 parent 3574a12 commit 249195e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ services:
restart: always
ports:
- 9870:9870
- 9000:9000
- 9010:9000
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
- CORE_CONF_fs_defaultFS=hdfs://namenode:8020
- CORE_CONF_fs_defaultFS=hdfs://namenode:9000
env_file:
- ./hadoop.env

Expand All @@ -24,7 +24,7 @@ services:
- hadoop_datanode:/hadoop/dfs/data
environment:
SERVICE_PRECONDITION: "namenode:9870"
CORE_CONF_fs_defaultFS: hdfs://namenode:8020
CORE_CONF_fs_defaultFS: hdfs://namenode:9000
ports:
- "9864:9864"
env_file:
Expand Down Expand Up @@ -70,7 +70,7 @@ services:
- "7077:7077"
environment:
- INIT_DAEMON_STEP=setup_spark
- CORE_CONF_fs_defaultFS=hdfs://namenode:8020
- CORE_CONF_fs_defaultFS=hdfs://namenode:9000

spark-worker-1:
image: bde2020/spark-worker:3.0.0-hadoop3.2
Expand All @@ -81,7 +81,7 @@ services:
- "8081:8081"
environment:
- "SPARK_MASTER=spark://spark-master:7077"
- CORE_CONF_fs_defaultFS=hdfs://namenode:8020
- CORE_CONF_fs_defaultFS=hdfs://namenode:9000

hive-server:
image: bde2020/hive:2.3.2-postgresql-metastore
Expand Down

0 comments on commit 249195e

Please sign in to comment.