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)

Reply via email to