AnsweredAssumed Answered

UnknownHostException - Renaming node's hostname

Question asked by Velumani on Jan 17, 2018
Latest reply on Feb 6, 2018 by maprcommunity

Hi,

I am trying to rename hostname of nodes in my cluster by following Renaming a Node. 

 

Below steps I did,

1. Edited HOSTNAME property in /etc/sysconfig/network

2. Changed the hostname in /etc/hosts and /etc/hostname files.

3. Ran "hostname newhostname" command

4. Ran "/etc/init.d/network restart"

 

After doing that I got No Nodes In Volume Topology Alarm Error in MCS and While submitting a job to YARN I got Caused by: java.net.UnknownHostException: newhostname: Name or service not known Exception 

 

Please help to understand the issue. 

Outcomes