Have Kerberized CDH cluster. Had issue connecting to Hive-Server2 beeline.
Tried deleting all user principals from Active Directory and then restart the cluster but it miserable failed to start.
Please help with the steps and precautions to restart the cluster.
When your cluster is Kerberized you don't need to do anything special during a restart.
Sometimes, when things haven't been configured correctly, though, you may need to regenerate Kerberos credentials.
If you manually deleted all the AD principals, you will need to first regenerate them following the procedure described here: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_sg_regen_kerb_princs.html#view-re...
After that try restarting your cluster.
PS: If you're using AD you should enable credentials regeneration: https://www.cloudera.com/documentation/enterprise/latest/topics/cm_sg_regen_kerb_princs.html#enable-...
What I found that I did not enable the safe mode before restarting my kerberized cluster and hence it failed to start gracefully. In fact the cluster did not come up completely and shown many errors during services restart. I replicated the issue in another small cluster and using the safe mode before restarting the cluster solved the issue. Many thanks for pointing the other requisites and documentations.Kudos!!