Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SET yarn.nodemanager.hostname to USE public_hostname

SET yarn.nodemanager.hostname to USE public_hostname

Expert Contributor

Hi,

Anyone knows how to get value of yarn.nodemanager.hostname to public hostname instead of hostname?

I have hostname set for NM to worker00X.mylocal, and want to use my alias/public_hostname to nm1.dev.local.

Already changes ng webapps url to use public_hostname by following https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_amb_ref...

But unfortunately, yarn.nodemanager.hostname doesnt get the public_hostname.

Thanks in advance

2 REPLIES 2
Highlighted

Re: SET yarn.nodemanager.hostname to USE public_hostname

@Michael Dennis "MD" Uanang perhaps this can help you:

https://stackoverflow.com/questions/34497451/how-can-i-set-the-nodeid-of-a-yarn-nodemanager

HTH

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

Highlighted

Re: SET yarn.nodemanager.hostname to USE public_hostname

@Michael Dennis "MD" Uanang was the above answer helpful to you? Please keep me posted.

Don't have an account?
Coming from Hortonworks? Activate your account here