Zsombor Gegesy created RANGER-1479:
--------------------------------------
Summary: Plugins couldnt load settings xml files from the
classpath, if they are inside a jar
Key: RANGER-1479
URL: https://issues.apache.org/jira/browse/RANGER-1479
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 0.7.0
Reporter: Zsombor Gegesy
Assignee: Zsombor Gegesy
Fix For: 1.0.0
RangerConfiguration first checks, if the necessary xml files are on the
classpath, and after it tries to convert it to a file path, check that file is
on the filesystem, and convert that path to back to URL. If the configurations
are inside a jar, then this will fail very badly (the resource url will be
something file://config.jar!/ranger-services.xml )
If the conversion is removed, it would work pretty nicely
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)