ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irina Easterling (JIRA)" <>
Subject [jira] [Commented] (AMBARI-14410) It failed to change the host name from Upper to Lower case for the cluster
Date Wed, 16 Dec 2015 23:49:46 GMT


Irina Easterling commented on AMBARI-14410:

Steps to reproduce:
Cluster configuration:

etc/hosts file
{code} N9-1-1 byn001-1 hadoopvm1-1 N9-1-2 byn001-2 hadoopvm1-2 N9-1-3 byn001-3 hadoopvm1-3 N9-1-4 byn001-4 hadoopvm1-4 N9-1-5 byn001-5 hadoopvm1-5

1. Stop all pending commands/jobs
2. Stop all services via Ambari
3. Backup Ambari db.
4. ssh master1 and stop ambari-server and all ambari-agents
5. Create json file with the host names changes.
N9-1-1:/tmp # cat host_names_changes.json
  "N91" : {"" : ""}
6. Execute command on the ambari-server hosts (master1):

 ambari-server update-host-names host_names_changes.json
Using python  /usr/bin/python2
Updating host names
Please, confirm Ambari services are stopped [y/n] (n)? y
Please, confirm there are no pending commands on cluster [y/n] (n)? y
Please, confirm you have made backup of the Ambari db [y/n] (n)? y
ERROR: Error executing update host names, please check the server logs.
ERROR: Exiting with exit code 1.
REASON: Host names update failed.

Results: Host name update failed. Ambari-server log out put:
ERROR [main] HostUpdateHelper:531 - Exception occurred during host names update, failed
org.apache.ambari.server.AmbariException: Hostname(s): was(were)
not found.
        at org.apache.ambari.server.update.HostUpdateHelper.validateHostChanges(
        at org.apache.ambari.server.update.HostUpdateHelper.main(
16 Dec 2015 17:45:29,707  INFO [Stack Version Loading Thread] LatestRepoCallable:74 - Loading
latest URL info for stack HDP-2.2 from

> It failed to change the host name from Upper to Lower case for the cluster
> --------------------------------------------------------------------------
>                 Key: AMBARI-14410
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Irina Easterling
> It failed to change the host name from Upper to Lower case following instructions (AMBARI-13507)
for the cluster.

This message was sent by Atlassian JIRA

View raw message