[
https://issues.apache.org/jira/browse/HADOOP-11122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152876#comment-14152876
]
Yi Liu commented on HADOOP-11122:
---------------------------------
Thanks [~asuresh] for the patch, correct me if I am wrong.
{{ZKDelegationTokenSecretManager}} maintains its own delegationToken sequence
number, why in _incrementDelegationTokenSeqNum_ and
_incrementDelegationTokenSeqNum_, it also calls the super methods, but in
_getDelegationTokenSeqNum_, it doesn't.
Another question is we supply
{{getDelegationTokenSeqNum/incrementDelegationTokenSeqNum/setDelegationTokenSeqNum}}
methods for override, but in {{addPersistedDelegationToken}}, it operates
_delegationTokenSequenceNumber_ directly?
Can we make these consistent? If needs special handling, could we give
comments?
> 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-11122.2.patch,
> HADOOP-11122.3.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)