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)