[ https://issues.apache.org/jira/browse/RANGER-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved RANGER-5174. -------------------------------------- Fix Version/s: 3.0.0 2.7.0 Resolution: Fixed master branch: {noformat} commit e68e4ad221387d3f02c3d73fb5a43c5e8d5b085a (HEAD -> master, origin/master, origin/HEAD) Author: Madhan Neethiraj <mad...@apache.org> Date: Mon Mar 24 07:46:46 2025 -0700 RANGER-5174: fix for script engine instantiation failure (#546) {noformat} ranger-2.7 branch: {noformat} commit ff00c3492cd57e30e593cec95a733e9dc171f842 (HEAD -> ranger-2.7, origin/ranger-2.7) Author: Madhan Neethiraj <mad...@apache.org> Date: Mon Mar 24 07:46:46 2025 -0700 RANGER-5174: fix for script engine instantiation failure (#546) (cherry picked from commit e68e4ad221387d3f02c3d73fb5a43c5e8d5b085a) {noformat} > failure in evaluating expressions in row-filter > ----------------------------------------------- > > Key: RANGER-5174 > URL: https://issues.apache.org/jira/browse/RANGER-5174 > Project: Ranger > Issue Type: Bug > Components: plugins > Reporter: Madhan Neethiraj > Assignee: Madhan Neethiraj > Priority: Major > Fix For: 3.0.0, 2.7.0 > > Time Spent: 40m > Remaining Estimate: 0h > > Row-filter policies support expressions to refer to context attributes like > user attributes, tags, tag attributes, user-groups, user-roles; for example: > "{{{}country = $\{{USER.country{}}}}}". Ranger policy engine uses a script > engine to evaluate such expressions. Instantiation of the script engine fails > with the following error in Trino plugin: > {noformat} > org.apache.ranger.plugin.conditionevaluator.RangerScriptConditionEvaluator > createScriptEngine(serviceType=trino): failed to create script engine > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)