Support Questions

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

Express upgrade to 3.1.0.0 fails at Finalize upgrade Precheck due to Yarn Registry DNS

avatar
Contributor

Hello All,

    When upgrading HDP cluster to 3.1.0 version -Restarting yarn DNS resgistry failed due to  ERROR 'resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh -H -E /usr/hdp/3.1.0.0-78/hadoop-yarn/bin/yarn --config /usr/hdp/3.1.0.0-78/hadoop/conf --daemon start registrydns' returned 1. ERROR: Cannot set priority of registrydns process 123223'.

I ignored it and proceeded with the upgrade. But at Finalize Pre check the task failed and the only option available is to delete the unhealthy and host and proceed with the upgrade.

 

How can I resolve this issue.

@jsensharma


HDP-Upgrade-Error.PNG

1 ACCEPTED SOLUTION

avatar
Master Mentor

@pauljoshiva 

Can you please check what is the port for the "RegistryDNS Bind Port" ? Is it free of being used by some other process ?  I am assuming that port is 53 (please change the port in the following command to verify if that port is free os being used)? 

 

# netstat -tnlpa | grep 53

 

If possible then can you try changing the port to something else and then see if that works? And check for "RegistryDNS Bind Port"

Ambari UI --> Yarn --> Configs --> Advanced (tab) --> Registry

Example: RegistryDNS Bind Port = 1553

Reference Threads:

https://community.cloudera.com/t5/Support-Questions/YARN-Registry-DNS-Start-failed-Hortonworks-3/m-p...


https://community.cloudera.com/t5/Community-Articles/YARN-REGISTRY-DNS-Port-Conflict-Issue/ta-p/2491...

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@pauljoshiva 

Can you please check what is the port for the "RegistryDNS Bind Port" ? Is it free of being used by some other process ?  I am assuming that port is 53 (please change the port in the following command to verify if that port is free os being used)? 

 

# netstat -tnlpa | grep 53

 

If possible then can you try changing the port to something else and then see if that works? And check for "RegistryDNS Bind Port"

Ambari UI --> Yarn --> Configs --> Advanced (tab) --> Registry

Example: RegistryDNS Bind Port = 1553

Reference Threads:

https://community.cloudera.com/t5/Support-Questions/YARN-Registry-DNS-Start-failed-Hortonworks-3/m-p...


https://community.cloudera.com/t5/Community-Articles/YARN-REGISTRY-DNS-Port-Conflict-Issue/ta-p/2491...

avatar
Contributor

Hello @jsensharma,

       Thank you for your reply, I was able to successfully restart Yarn DNS Registry but the upgrade still shows the same error - unhealthy host.

I checked the host component state in Ambari database and found that the Yarn registry is in Failed state. 

YARN_REGISTRY_DNS | UNKNOWN | STARTED | 15 | YARN | FAILED