You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (Jira)" <ji...@apache.org> on 2019/10/08 18:32:00 UTC
[jira] [Created] (RANGER-2610) NPE in PolicyRefresher if
service-policies in policy-cache contain only service definition
Abhay Kulkarni created RANGER-2610:
--------------------------------------
Summary: NPE in PolicyRefresher if service-policies in policy-cache contain only service definition
Key: RANGER-2610
URL: https://issues.apache.org/jira/browse/RANGER-2610
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: master
Reporter: Abhay Kulkarni
Assignee: Abhay Kulkarni
Fix For: master
If plugin cannot connect to ranger-admin server to download policies, it attempts to load policies from local policy cache file. If that file contains only service-definition, then policy-refresher code throws NPE. It does not affect access evaluation, however, it is better to check for such condition and avoid a NPE in plugin code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)