> On Жов. 22, 2015, 6:14 до полудня, Sumit Mohanty wrote: > > ambari-server/sbin/ambari-server, line 148 > > <https://reviews.apache.org/r/39519/diff/1/?file=1102446#file1102446line148> > > > > Updating hostnames
done > On Жов. 22, 2015, 6:14 до полудня, Sumit Mohanty wrote: > > ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java, > > line 859 > > <https://reviews.apache.org/r/39519/diff/1/?file=1102447#file1102447line859> > > > > type - configuration > > Sumit Mohanty wrote: > I meant typo. done > On Жов. 22, 2015, 6:14 до полудня, Sumit Mohanty wrote: > > ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java, > > line 355 > > <https://reviews.apache.org/r/39519/diff/1/?file=1102449#file1102449line355> > > > > How about topology_host_request table? Added. > On Жов. 22, 2015, 6:14 до полудня, Sumit Mohanty wrote: > > ambari-server/src/main/python/ambari_server/hostUpdate.py, line 39 > > <https://reviews.apache.org/r/39519/diff/1/?file=1102452#file1102452line39> > > > > Lets modify the texts in this function to say "update host name" > > instead of "update host". done > On Жов. 22, 2015, 6:14 до полудня, Sumit Mohanty wrote: > > ambari-server/src/main/python/ambari_server/hostUpdate.py, line 45 > > <https://reviews.apache.org/r/39519/diff/1/?file=1102452#file1102452line45> > > > > Lets ask if DB has been backed up and if the answer is N exit added - Vitalyi ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39519/#review103530 ----------------------------------------------------------- On Жов. 22, 2015, 11:46 до полудня, Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39519/ > ----------------------------------------------------------- > > (Updated Жов. 22, 2015, 11:46 до полудня) > > > Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Myroslav > Papirkovskyy, and Sumit Mohanty. > > > Bugs: AMBARI-13507 > https://issues.apache.org/jira/browse/AMBARI-13507 > > > Repository: ambari > > > Description > ------- > > At a high-level we may follow this approach: > Ensure cluster is not kerberized > Assume all services to be stopped (add a check to ensure that services are > stopped) > We may also need to check and confirm that there are no commands pending > execution - or just mark them as aborted > Update all host names in the database based on the mapping provided (e.g. > host1 --> master01.dev.com) > As SQLClient cannot be assumed consider using jdbc - similar to the Upgrade > code > Modify all configs to replace the hostnames as needed (not sure if plain > search and replace will suffice) > Agents need to be re-configured if ambari-server hostname changes > > > Diffs > ----- > > ambari-server/sbin/ambari-server 1843cd6 > > ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java > 702e12d > > ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java > 62c3b61 > > ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java > ed68313 > ambari-server/src/main/python/ambari-server.py 88df81a > ambari-server/src/main/python/ambari_server/hostUpdate.py PRE-CREATION > ambari-server/src/main/python/ambari_server/setupActions.py 6c6e7ea > > Diff: https://reviews.apache.org/r/39519/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Vitalyi Brodetskyi > >
