You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Subhrat Chaudhary (Jira)" <ji...@apache.org> on 2023/09/27 09:35:00 UTC
[jira] [Commented] (RANGER-4437) incorrect error log from ResourceMatcher.isMatch()
[ https://issues.apache.org/jira/browse/RANGER-4437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769517#comment-17769517 ]
Subhrat Chaudhary commented on RANGER-4437:
-------------------------------------------
+1 to add the fix
> incorrect error log from ResourceMatcher.isMatch()
> --------------------------------------------------
>
> Key: RANGER-4437
> URL: https://issues.apache.org/jira/browse/RANGER-4437
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: 3.0.0
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: RANGER-4437.patch
>
>
> {{ResourceMatcher.isMatch(matchType, matchingScope)}} generates following error log when matchType is {{{}NONE{}}}.
> {noformat}
> org.apache.ranger.plugin.resourcematcher.ResourceMatcher:166 - invalid ResourceElementMatchType: {NONE}
> {noformat}
> NONE is a valid value for parameter matchType, hence this error log is incorrect.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)