Just FYI... What I've seen folks do is dump the database, keep a backup, replace all occurrences of the old hostname to the new hostname in the dump file, then reimport.
Yusaku On 4/18/15 9:51 AM, "Sumit Mohanty" <[email protected]> wrote: >+Alejandro > >In theory, you can stop ambari-server, modify all occurrences of the >hostname and that should be it. There is not first class support for it. > >Alejandro, did you look at the possibility of manually changing all host >names to rename a host >(https://issues.apache.org/jira/browse/AMBARI-10167) > >-Sumit >________________________________________ >From: Frank Eisenhauer <[email protected]> >Sent: Saturday, April 18, 2015 12:31 AM >To: Ambari User >Subject: Change hostname on running cluster > >Hi All, > >we have a running hadoop cluster where we unfortunately have a hostname >in uppercase, e.g. SRV-HADOOP01.BIGDATA.LOCAL. > >As of Ambari 1.7 we are experiencing a lot of side effects which are >presumably caused by the hostnames in uppercase. > >I would like to rename the particular hosts(e.g. >srv-hadoop01.bigdata.local), so that there are only hosts with lowercase >names in the cluster. > >Is it possible to change the hostname? I came across a few blogs, but in >general renaming hostnames seems not to be recommended. > >Has anyone performed a hostname change? > >Many thanks in advance.
