You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2015/07/18 03:21:06 UTC

[jira] [Created] (HIVE-11302) RawStore addToken, removeToken, and removeMasterKey should be void not boolean

Alan Gates created HIVE-11302:
---------------------------------

             Summary: RawStore addToken, removeToken, and removeMasterKey should be void not boolean
                 Key: HIVE-11302
                 URL: https://issues.apache.org/jira/browse/HIVE-11302
             Project: Hive
          Issue Type: Improvement
            Reporter: Alan Gates
            Assignee: Alan Gates


All three of these fetch the indicated token or key and return false if it doesn't exist.  This is only used in testing.  All of the real code calls in TokenStoreDelegationTokenSecretManager ignore the return.  It's backwards to force production to be slower for testing purposes.  For the tests get method should be used to assure the token is there.



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