Hector Sandoval Chaverri created HADOOP-18264:
-------------------------------------------------

             Summary: ZKDelegationTokenSecretManager should handle duplicate 
Token sequenceNums
                 Key: HADOOP-18264
                 URL: https://issues.apache.org/jira/browse/HADOOP-18264
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
            Reporter: Hector Sandoval Chaverri


The ZKDelegationTokenSecretManager relies on the TokenIdentifier sequenceNumber 
to identify each Token in the ZK Store. It's possible for multiple 
TokenIdentifiers to share the same sequenceNumber, as this is an int that can 
overflow. 

The AbstractDelegationTokenSecretManager uses a Map<TokenIdent, 
DelegationTokenInformation> so all properties in the TokenIdentifier must 
match. ZKDelegationTokenSecretManager should follow the same logic.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to