[
https://issues.apache.org/jira/browse/AMBARI-13507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976328#comment-14976328
]
Hudson commented on AMBARI-13507:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.1 #752 (See
[https://builds.apache.org/job/Ambari-branch-2.1/752/])
AMBARI-13507. Create a script to change host names for a stopped (vbrodetskyi:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5491d2aebae14387601a8002f3cb8e28e4952ef7])
* ambari-server/src/main/python/ambari_server/hostUpdate.py
*
ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java
*
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* ambari-server/sbin/ambari-server
* ambari-server/src/main/python/ambari_server/setupActions.py
* ambari-server/src/main/python/ambari-server.py
> Create a script to change host names for a stopped cluster
> ----------------------------------------------------------
>
> Key: AMBARI-13507
> URL: https://issues.apache.org/jira/browse/AMBARI-13507
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.1.3
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Priority: Critical
> Fix For: 2.1.3
>
> Attachments: AMBARI-13507.patch
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)