[
https://issues.apache.org/jira/browse/HADOOP-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj Das updated HADOOP-6559:
--------------------------------
Attachment: h-6559.1.patch
The attached patch:
1) The RPC client will try to do re-login when it encounters SaslException. The
max #tries is 3 with a 5 seconds sleep between the trials.
2) Adds a method in the UGI class to do with relogin, and that uses the same
keytab/principal that login was originally called with.
3) The relogin meth keeps track of when it was last run (so as to avoid a flood
of such calls, made from different contexts).
> The RPC client should try to re-login when it detects that the TGT expired
> --------------------------------------------------------------------------
>
> Key: HADOOP-6559
> URL: https://issues.apache.org/jira/browse/HADOOP-6559
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 0.22.0
> Reporter: Devaraj Das
> Assignee: Devaraj Das
> Fix For: 0.22.0
>
> Attachments: h-6559.1.patch
>
>
> Currently while making RPC calls, the client will throw an exception if the
> client is not able to use the TGT (expired or timedout). This could be
> improved - it could catch the exception and try doing a re-login.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.