Auto renewal of Kerberos ticket not working from Java

后端 未结 2 2004
渐次进展
渐次进展 2020-12-22 00:44

In my server application I\'m connecting to Kerberos secured Hadoop cluster from my java application. On the application startup I do call

UserGroupInformati         


        
2条回答
  •  春和景丽
    2020-12-22 01:09

    Unfortunately, there is a known issue with automatic renewal not working correctly when using the UserGroupInformation#loginUserFromKeytabAndReturnUGI method. I am not aware of any known code fix within Apache Hadoop at this time.

    Your solution to add a call to UserGroupInformation#checkTGTAndReloginFromKeytab is a viable workaround. I recommend that you stick with that for now and keep an eye on Apache Hadoop release notes to see if there is a fix committed in the future.

提交回复
热议问题