I don't get you. what I need to run as root on kdc server?
The command kadmin.local should be run as root on the KDC server
# kadmin.local Authenticating as principal root/admin@xxxxx with password. kadmin.local: listprincs
You should be able to see the principals
kadmin.local command is working fine I can see a list all principles. And I also went through config for kerberos but that example is deal with hiveServer, And I have to deal with kerberised oozie. So can you give me working code to communicate with kerberised oozie!.
The error Server not found in Kerberos database usually occurs when KDC is unable to identify the entry for service principal requested when connecting to the service.
(Mechanism level: Server not found in Kerberos database (7) - LOOKING_UP_SERVER)
Can you share your the below-modified files;
Wat values do you have for these params:
oozie.service.HadoopAccessorService.kerberos.enabled local.realm oozie.service.HadoopAccessorService.keytab.file oozie.service.HadoopAccessorService.kerberos.principal oozie.authentication.type oozie.authentication.kerberos.principal oozie.authentication.kerberos.name.rules
oozie uses jaas configuration for kerberos login can you share it