When you generate or regenerate credentials, Cloudera Manager will use LDAP to add the necessary principals in Active Directory. Cloudera Manager checks to see if they exist and will exit if any of the principals' objects already exist via LDAP. If it sees any it is trying to create exist, you get the following error:
HTTP/hostname@REALM already exists in Active Directory. Please delete it before re-generating it from Cloudera Manager.