To rename a HDP cluster :-
1. Rename through manage ambari -- > rename the cluster
2. Rename the existing ranger repositories, for the services where ranger plugin in enabled.
for example:-
Old cluster name is ClusterA and the renamed cluster name ClusterA_NEW
The HDFS ranger repository name will look like "ClusterA_hadoop" , that needs to be renamed to "ClusterA_NEW_hadoop" to match with cluster name.
Repeat this for all the service repositories.
3. Restart the relevant services where the changes are made.
example: HDFS, YARN, HIVE, Atlas, Kafka,..
4. (Optional) The principals / keytabs can still function with old cluster name on it. To avoid confusion, if you need all the service principals to carry the new cluster name, you can regenerate the keytabs through ambari. If we are doing this, then we can skip the step3 and restart after the new keytabs generated.
No comments:
Post a Comment