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

Arun Suresh commented on HADOOP-11122:
--------------------------------------

bq. ..seems updating the OLD key with updated expire time, not updating the NEW 
key...
This is fine.. since in the {{rollMasterKey()}} method, first there is a call 
to {{updateDelegationKey()}} which updates the OLD key.. and then it calls 
{{updateCurrentKey()}} which subsequently calls {{storeDelegationKey(newKey)}} 
which stores the new {{currentKey}}

bq. Regarding the unused{{updateMasterKey}}, I think we should remove this, ..
I prefer removing it as well.. Do not wish to implement {{updateMasterKey()}} 
in ZKDTSM, like I mentioned earlier, ZKDTSM does not need to know anything 
about the master key (since each node has its own currentKey)..

will update patch shortly..

> Fix findbugs and order of key updates Abstract/ZK 
> DelegationTokenSecretManagers 
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-11122
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11122
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Karthik Kambatla
>            Assignee: Arun Suresh
>            Priority: Blocker
>         Attachments: HADOOP-11122.1.patch
>
>
> HADOOP-11017 adds ZK implementation for DelegationTokenSecretManager. This is 
> a follow-up JIRA to address review comments there - findbugs and order of 
> updates to the {{currentKey}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to