diff --git a/docker-compose.yml b/docker-compose.yml index ed40dc62..3d30f30d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,9 @@ services: image: bde2020/hadoop-datanode:2.0.0-hadoop3.2.1-java8 container_name: datanode restart: always + ports: + - 9864:9864 + - 9866:9866 volumes: - hadoop_datanode:/hadoop/dfs/data environment: