You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "CanGuan (Jira)" <ji...@apache.org> on 2022/03/18 08:09:00 UTC
[jira] [Commented] (RANGER-3671) ChainedPlugin is not constructed correctly
[ https://issues.apache.org/jira/browse/RANGER-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508640#comment-17508640 ]
CanGuan commented on RANGER-3671:
---------------------------------
Fix PR: https://github.com/apache/ranger/pull/136
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)