The story was like this:
I wanted to enable the Kerberos service in ambari.I configured the server node kdc configuration but forgot to sync them to slave nodes. Then ran the wizard to enable kerberos, it got a failure after had already installed kerberos clients by the first step.
The error message shows that the client use admin@12 which realm is defalult by install kerberos server to client the kerberos server, while I configured the realm is EXAMPLE.COM. After I synced the configuration and re-ran the wizard, it has still shown the error.
I had tried every method to re-do. And also checked the operation in a new ambari environment.I guess the wrong realm is cached in the kerberos client. And every time re-run of the wizard, it skipped the install client step while it had been installed.
So, I come here to ask if there is a way to re-install the kerberos client.
grep -rn @12at/var/lib/ambari-agent, and got many json which is like temp configuration and txt which is like log message. - ElapsedSoul