Support Questions

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

Adopting new hostname changes in Cloudera Manager

avatar
Explorer

Aloha. After a recent server migration, all of the hostnames on our cluster got a slight modification. After getting the Cloudera Manager Server to connect to it's required database correctly, it still wants to connect to the old hostnames for everything else in the cluster. Everything is already configured for them to work together, so it should be as simple as updating the URL to connect to the hostname (rather than reinstalling cloudera-scm-agent, etc). Is there a way to do this from within Cloudera Manager?

How?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Cl0ck 

 

That is possible please follow this cloudera documentation  please have a look and see if it suits your situation.

Keep me posted.

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Cl0ck 

 

That is possible please follow this cloudera documentation  please have a look and see if it suits your situation.

Keep me posted.

avatar
Super Guru

@Cl0ck

Each host's name is stored in CM's backend database with an UUID attached, please refer to table HOSTS. Example as below:

 

HOST_ID: 12
OPTIMISTIC_LOCK_VERSION: 148
HOST_IDENTIFIER: bfaf4b71-01e2-4157-b46f-d1c13566b69a
NAME: host-xxx-xxx.xxx
IP_ADDRESS: xx.xx.xx.xx
RACK_ID: /default
STATUS: NA
CONFIG_CONTAINER_ID: 1
MAINTENANCE_COUNT: 0
DECOMMISSION_COUNT: 0
CLUSTER_ID: 1
NUM_CORES: 1
TOTAL_PHYS_MEM_BYTES: 1929342976
PUBLIC_NAME: NULL
PUBLIC_IP_ADDRESS: NULL
CLOUD_PROVIDER: NULL

 


Where HOST_IDENTIFIER is the UUID, and is stored under /var/lib/cloudera-scm-agent/uuid on each host. Maybe you can try to update the table here for NAME field and see if that can help?

Cheers
Eric