centos - Changing hostnames in added hosts in Ambari server? -


in ambari server have added 7 slaves master, problem had changed hostnames on slaves, therefore master node cannot identify slaves now.

so can me changed hostnames added?

thank you.

as of ambari 2.2.2 can change hostnames using ambari-server update-host-names <hostnames.json>

the basic steps are:

  1. back ambari db
  2. disable kerberos
  3. stop ambari-server , ambari-agent on hosts
  4. create hostnames.json map old names new names. example: {"clustername":{"oldhost1.example.com":"newhost1.example.com","oldhost2.example.com":"newhost2.example.com"}}
  5. on ambari server: ambari-server update-host-names hostnames.json
  6. updates hostnames on nodes
  7. if hostname of ambari server changed, update ambari-agent.ini on every ambari agent node
  8. on ambari server: ambari-server start
  9. on agents: ambari-agent start
  10. re-enable kerberos if needed

http://docs.hortonworks.com/hdpdocuments/ambari-2.2.2.0/bk_ambari_reference_guide/content/ch_changing_host_names.html


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -