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

Kan Zhang commented on HADOOP-6559:
-----------------------------------

bq. saslRpcClient.saslConnect() needs to be in doAs() block, whereas new 
SaslRpcClient() may be not.
bq. no need to return SaslRpcClient as it is a member field.
bq. please make sure your change is compatible with HADOOP-6543 (i.e., I'll 
eventually make saslRpcClient.saslConnect() return boolean based on whether we 
need to fall back to simple auth).
bq. you need to re-throw SaslException when the retry block is not entered.

> 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, h-6559.2.patch, h-6559.3.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.

Reply via email to