Jason Lowe created HADOOP-9846:
----------------------------------

             Summary: AbstractDelegationTokenSecretManager storage interface is 
inconsistent wrt. exceptions
                 Key: HADOOP-9846
                 URL: https://issues.apache.org/jira/browse/HADOOP-9846
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 2.1.0-beta
            Reporter: Jason Lowe


AbstractDelegationTokenSecretManager recently added interfaces for persisting 
keys and tokens in HADOOP-9574 but the treatment of exceptions from these 
interfaces is inconsistent.  Storing a master key can throw IOException but 
removing a master key cannot.  Storing or updating a token cannot throw 
IOException but removing a token can.  These should be made consistent, and 
arguably all of these interfaces should allow IOException to be thrown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to