CanGuan created RANGER-3671:
-------------------------------
Summary: ChainedPlugin is not constructed correctly
Key: RANGER-3671
URL: https://issues.apache.org/jira/browse/RANGER-3671
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 2.2.0
Reporter: CanGuan
Default constructor of RangerChainedPlugin is:
{code:java}
public RangerChainedPlugin(RangerBasePlugin rootPlugin, String serviceType,
String serviceName){} {code}
But in RangerBasedPlugin#initChainedPlugins method, the chained plugin is not
construct correctly:
{code:java}
RangerChainedPlugin chainedPlugin =
pluginClass.getConstructor(RangerBasePlugin.class,
String.class).newInstance(this, chainedService); {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)