Hi all,

I have a NiFi processor which uses Kerberos keytab authentication to
write data to Accumulo. I have a separate thread which periodically
runs in order to try renewing my TGT
(UserGroupInformation.getCurrentUser.checkTGTAndReloginFromKeytab()).

This code works fine outside NiFi, but inside NiFi while the initial
login is fine, on subsequent attempts to check the TGT, the
UserGroupInformation class seems to think it is using ticket cache,
not keytab authentication (i.e.
UserGroupInformation.getCurrentUser.isFromKeytab is false).

I notice the Hadoop processors support some Kerberos authentication
options (I'm not yet using any of those processors, but would like to
in other flows). Could this be interacting badly with my code?

Thanks very much,

James

Reply via email to