AnsweredAssumed Answered

UnknownHostException - Renaming node's hostname

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


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: newhostname: Name or service not known Exception 


Please help to understand the issue.