Skip to main content
knarendran
Gold ⭐️
Dec 28, 2016 6:25 PM UTC

404 service kerberos not found

  • Oct 5, 2026 9:31 AM UTC
  • 0 replies
  • 1049 views
  • Translate All

Issue:

After enabling Kerberos with option 'Manage Kerberos principals and keytabs manually', adding a new component will not respond. This is due to a bug in Ambari 2.2. Refer link. Below is the error message reported on the web console

Error: http://{ambari-server}:8080/api/v1/clusters/{cluster_name}/services/KERBEROS?fields=Services/attributes/kdc_validation_result,Services/attributes/kdc_validation_failure_details&_=1446149280683

Workaround:

Add KERBEROS service via API as below and try installing the component and then remove the KERBEROS service

1. Run the below curl command on the ambari-server (Enable admin user if disabled)

curl -H "X-Requested-By:ambari" -u admin:admin -i -X POST http://<ambari-server-host>:8080/api/v1/clusters/<cluster-name>/services/KERBEROS

2. Add the new component which was failing before with the above error using Add service wizard

3. Once the installation is complete you can remove the service Kerberos using the below curl command

curl -H "X-Requested-By:ambari" -u admin:admin -i -X DELETE http://<ambari-server-host>:8080/api/v1/clusters/<cluster-name>/services/KERBEROS