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

Getting data node connection error #128

Open
subbaraodna opened this issue May 27, 2022 · 3 comments
Open

Getting data node connection error #128

subbaraodna opened this issue May 27, 2022 · 3 comments

Comments

@subbaraodna
Copy link

In cluster mode deployment using docker stack(docker swarm) , data node and name are deployed, am getting error Problem connecting to server: namenode:9000 in data node. can host name node be used for hdfs uri? can you guide to resolve this issue? Any support will be appreciated.

@OneCricketeer
Copy link

OneCricketeer commented Jun 13, 2022

Yes, hostnames are possible...

What value of CORE_CONF_fs_defaultFS are you using and can you otherwise start some other container in the Swarm network and simply ping namenode?

@subbaraodna
Copy link
Author

subbaraodna commented Jun 14, 2022 via email

@OneCricketeer
Copy link

OneCricketeer commented Jun 14, 2022

When using Swarm and container service names, you'll need to verify your overlay network and its DNS server are working

https://docs.docker.com/engine/swarm/services/#connect-the-service-to-an-overlay-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