[ 
https://issues.apache.org/jira/browse/HADOOP-9957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767958#comment-13767958
 ] 

Kai Zheng commented on HADOOP-9957:
-----------------------------------

Don't see much clue from your logs. reloginFromKeytab() prints some logs. It 
might help to check them, searching "Initiating re-login for" or "Login failure 
for" and etc in your log files. Also please make sure you're using the exact 
hadoop lib version which matches the UGI codes you're reading.
                
> UserGroupInformation.checkTGTAndReloginFromKeytab() do the same thing as 
> method reloginFromKeytab()
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9957
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9957
>             Project: Hadoop Common
>          Issue Type: Wish
>          Components: security
>            Reporter: Aimee Cheng
>
> The methods checkTGTAndReloginFromKeytab() and reloginFromKeytab() in 
> UserGroupInformation actually are do the same things. Now reloginFromKeytab() 
> will check the TGT expire time, if fresh, then will not relogin, just as what 
>  checkTGTAndReloginFromKeytab() does. I suggest maybe we can still let 
> reloginFromKeytab() not check the TGT and provide a way to let develop can 
> control when to relogin. While maybe we can just remove the 
> checkTGTAndReloginFromKeytab() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to