Madhan Neethiraj created RANGER-3636:
----------------------------------------
Summary: Plugin classloader should use classloader of shim class
as parent
Key: RANGER-3636
URL: https://issues.apache.org/jira/browse/RANGER-3636
Project: Ranger
Issue Type: Bug
Components: plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Ranger uses plugin-classloader to avoid libraries needed by plugin
implementation to be visible in component's CLASSPATH (RANGER-586). For
classes/resources that are not found in plugin-impl directory, the classloader
uses component's (service's) classloader. Currently, current thread's
classloader is used as the component's classloader. However, this may not work
for services that use class isolation themselves, in which case the current
thread's classloader might be different from component's classloader. A better
option will be to use the classloader that loaded the plugin shim class as the
component classloader.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)