Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access network interfaces. #141

Open
ParP924 opened this issue Feb 13, 2023 · 1 comment
Open

Cannot access network interfaces. #141

ParP924 opened this issue Feb 13, 2023 · 1 comment

Comments

@ParP924
Copy link

ParP924 commented Feb 13, 2023

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

History server: http://<dockerhadoop_IP_address>:8188/applicationhistory
Datanode: http://<dockerhadoop_IP_address>:9864/
Nodemanager: http://<dockerhadoop_IP_address>:8042/node
Resource manager: http://<dockerhadoop_IP_address>: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
Copy link

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:
- 8088:8088
environment:
SERVICE_PRECONDITION: "namenode:9000 namenode:9870 datanode:9864"
env_file:
- ./hadoop.env

...

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants