[ https://issues.apache.org/jira/browse/RANGER-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Agrawal updated RANGER-2610: ------------------------------------ Fix Version/s: (was: master) 2.1.0 > 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 > Priority: Major > Fix For: 2.1.0 > > > 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)