How to fix - KERBEROS_CLIENT in invalid state. Invalid transition. Invalid event: HOST_SVCCOMP_OP_IN_PROGRESS at INSTALL_FAILED
If you are getting below error while refreshing client configs via Ambari UI then here are the steps to fix it!

1. Remove KERBEROS_CLIENT for problematic hosts using below curl call
curl -H "X-Requested-By:ambari"-u admin:admin -X DELETE "http://<AMBARI-SERVER>:8080/api/v1/clusters/<cluster-name>/hosts/<host-name>/host_components/KERBEROS_CLIENT"
2. Ensure from Ambari UI that KERBEROS_CLIENT got removed.
3. From Ambari UI --> goto the problematic host --> click on Add button --> select Kerberos Client

4. Installation should complete without any issue.

