big-data-europe / docker-hadoop

Apache Hadoop docker image
2.21k stars 1.3k forks source link

Cannot access network interfaces. #141

Open ParP924 opened 1 year ago

ParP924 commented 1 year ago

I have the docker containers running fine but I cannot seem to access the following websites:

History server: http://:8188/applicationhistory Datanode: http://:9864/ Nodemanager: http://:8042/node Resource manager: http://:8088/

I have tried to alter the ports on docker compose file by mapping each port but no luck. Also I can access nodemanager using localhost:9840

HatePigNotFat commented 1 year ago

I guess you may need to add "ports" for the other services like namenode service do in docker-compose.xml. e.g. ... resourcemanager: image: bde2020/hadoop-resourcemanager:2.0.0-hadoop3.2.1-java8 container_name: resourcemanager restart: always ports:

...

This works for be by port forwarding the 8088 to external network.