-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65135/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-1949
    https://issues.apache.org/jira/browse/RANGER-1949


Repository: ranger


Description
-------

So the getKeyNames call will return an empty list, if there were no keys 
allowed to see - previously it was returning an exception. It seems a more 
consistent behaviour, as user could only see their own readable keys.


Diffs
-----

  kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KMS.java be3700ffa 


Diff: https://reviews.apache.org/r/65135/diff/1/


Testing
-------

Tested on a live cluster with 'hadoop key list' and playing around with various 
KMS policies.


Thanks,

Zsombor Gegesy

Reply via email to