Support Questions
Find answers, ask questions, and share your expertise

Policy filter doesn't work properly on Ranger UI.

Policy filter doesn't work properly on Ranger UI.

Explorer

I can not get the enabled policies in the list of policies for Hive.

2930-image2016-3-10-11-55-14.png

When I type "status=true", I can get the enabled policies.

2931-image2016-3-10-11-50-0.png

I looked up source code and found the cause of this problem.

https://github.com/hortonworks/ranger-release/blob/HDP-2.4.0.0-tag/security-admin/src/main/java/org/...

AppConstants.STATUS_DISABLED and AppConstants.STATUS_ENABLED are used for the statusEnum. However, these values don't exist. I think that RangerCommonEnums.STATUS_DISABLED and RangerCommonEnums.STATUS_ENABLED are proper values.

Please check the source code of Ranger.

2 REPLIES 2
Highlighted

Re: Policy filter doesn't work properly on Ranger UI.

Super Guru

Thank you @Junichi Oda. Can you please let us know your HDP version? I believe you are using ranger-0.5.0

Will check and see if I can reproduce this

Highlighted

Re: Policy filter doesn't work properly on Ranger UI.

Super Guru

Did you retry in HDP 2.4.2?