Requirement:Cli access to the Analyzer node via ssh or serial console
Solution:In order to change the host name of Analyzer Node, please execute the below command after replacing the fqdn with your new fqdn for the Analyzer node:
/opt/niara/analyzer/lib/hadoop/rename-an-node <fqdn>
Configuration:1. Login to the Analyzer CLI and execute the below script with the new-hostname in FQDN and wait for the Ambari services to start up again.
/opt/niara/analyzer/lib/hadoop/rename-an-node <New-Hostname-FQDN>
Example:
/opt/niara/analyzer/lib/hadoop/rename-an-node IS-Prod.aruba.com
VerificationTo verify, execute hostname in the Analyzer Command line. It should display the new hostname
# hostname
IS-Prod.aruba.us