Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-28-2017 08:07 AM
Hello everyone there is my problem :
In order to automated kerberos installation i follow this tutorial for HDP sandbox 2.4 : https://community.hortonworks.com/articles/29203/automated-kerberos-installation-and-configuration.h...
I already try to set up it manually but without success because of a connection problem with the kdc when i try to configure it on ambari web interface.
So i try the tutorial but now i have this problem when i launch it :
017-07-27,13:50:41 Enabling Kerberos
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
137 513 102 513 0 172 12 4 0:00:42 0:00:40 0:00:02 78
HTTP/1.1 400 Bad Request
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=ka633m5h9um01jqyy6uamrb18;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
User: raj_ops
Content-Type: text/plain
Content-Length: 513
Server: Jetty(8.1.19.v20160209)
{
"status" : 400,
"message" : "java.lang.IllegalArgumentException: Invalid KDC administrator credentials.\nThe KDC administrator credentials must be set as a persisted or temporary credential resource.This may be done by issuing a POST (or PUT for updating) to the /api/v1/clusters/:clusterName/credentials/kdc.admin.credential API entry point with the following payload:\n{\n \"Credential\" : {\n \"principal\" : \"(PRINCIPAL)\", \"key\" : \"(PASSWORD)\", \"type\" : \"(persisted|temporary)\"}\n }\n}"
I try to solve the problem by fixing manually the credential but the script seems to modify (it changes my persisted credential by a temporary credential) it and i can't find where it do it (and also i don't know how to see the principal of the credential to understand maybe why it's not working).
I also want to specify that in 2.6 ambari's log are : user : raj_ops password : raj_ops I think i configure my ambari.props correctly :
CLUSTER_NAME=Sandbox AMBARI_ADMIN_USER=raj_ops AMBARI_ADMIN_PASSWORD=raj_ops AMBARI_HOST=localhost KDC_HOST=localhost REALM=EXAMPLE.COM KERBEROS_CLIENTS=localhost
I have no more ideas on how to solve the problem please help me ^^
Created 08-24-2017 07:48 AM
Thanks i finally resolve the problem a long time ago, i don't remember exactly what was the solution but i think i had not add kdc credentials.
I think i follow this tutorial to resolve the problem :
Created 08-13-2017 08:50 PM
Please check the answer here, It may help.
Also use that API and set credentials to persisted.
Created 08-24-2017 07:48 AM
Thanks i finally resolve the problem a long time ago, i don't remember exactly what was the solution but i think i had not add kdc credentials.
I think i follow this tutorial to resolve the problem :