[ https://issues.apache.org/jira/browse/RANGER-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zsombor Gegesy updated RANGER-1479: ----------------------------------- Attachment: (was: 0001-RANGER-1479-Fix-bug-in-ranger-security-audit-.xml-lo.patch) > 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 > Labels: configuration, plugins > Fix For: 1.0.0 > > Attachments: > 0001-RANGER-1479-Fix-bug-in-ranger-security-audit-.xml-lo.patch > > > 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)