Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this solution

avatar
Master Mentor

@Arif Ishak

As we see the error is basically happening because the Port 53 Already Bind

2018-10-23 13:51:37,962 ERROR dns.PrivilegedRegistryDNSStarter (PrivilegedRegistryDNSStarter.java:init(61)) - Error initializing Registry DNS
java.net.BindException: Problem binding to [node.b2be.com:53] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException

.

So please check if your host where you are planning to run the "YARN Registry DNS" has the port 53 available Or some other process is already using that port?

# netstat -tnlpa | grep 53

.

OR try verifying if you can open the port 53 using simple program like "nc" (netcat) onn that host? Or do you see Already Used port error there as well?

# nc -l `hostname -f` 53
Ncat: bind to 10.10.20.30:53: Address already in use. QUITTING.

.

If yes then Try changing the port to see if it works Or stop the other process which is using that port?

Check the value of the following properyy in your YARN configs

"hadoop.registry.dns.bind-port". (registry.dns.bind-port) default value = 53

.

View solution in original post

Who agreed with this solution