[
https://issues.apache.org/jira/browse/HADOOP-11122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152521#comment-14152521
]
Jian He commented on HADOOP-11122:
----------------------------------
The point I was raising is that
{{ZKDelegationTokenSecretManager#updateDelegationKey}} seems updating the OLD
key with updated expire time, not updating the NEW key. I don't have much
context about ZKDTSM. if this is fine, then we are good.
Regarding the unused{{updateMasterKey}}, I think we should remove this, we can
add it anytime if required . Another option is to have
{{ZKDelegationTokenSecretManager}} actually overrides this method, rather than
{{updateDelegationKey}} method.
> 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)