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 04-06-2017 05:25 PM
I installed Ranger & Ambari-Infra in my cluster via Ambari but installed hung up on Setup Keytab. Although, the service installed properly but "ranger-usersync" failed due to service.keytab does not exist.
Can anyone suggest how to re-generate keytab for a particular service?
HDP - 2.5.3, Ambari - 2.4.2.0
Created 04-06-2017 05:36 PM
Even with newer Ambari 2.5.0.3 you can regenerate the keytab for whole cluster services/ Or for selected hosts that are missing keytabs.
Texts from 2.5.0.3 Doc:
You can regenerate key tabs for only those hosts that are missing key tabs: for example, hosts that were not online or available from Ambari when enabling Kerberos.
.
Created 04-06-2017 05:36 PM
Even with newer Ambari 2.5.0.3 you can regenerate the keytab for whole cluster services/ Or for selected hosts that are missing keytabs.
Texts from 2.5.0.3 Doc:
You can regenerate key tabs for only those hosts that are missing key tabs: for example, hosts that were not online or available from Ambari when enabling Kerberos.
.
Created 04-06-2017 05:48 PM
Please see below guide for Ambari 2.4.2.0:
Created 04-06-2017 06:53 PM
Thank you @Namit Maheshwari.
Created 04-06-2017 06:53 PM
Thank you guys for the prompt response.
Root cause: Somehow Kerberos admin session was expired which was not creating/setup any key tabs.
Resolution: I fixed it by restarting Ambari. After that, regeneration of ticket resolved the problem.