[
https://issues.apache.org/jira/browse/RANGER-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511852#comment-17511852
]
alain pellegrino edited comment on RANGER-3231 at 3/24/22, 1:15 PM:
--------------------------------------------------------------------
Previous error seems to doesn't have an effect on the installation.
So, I still have the same error in the log. Here is the entire log :
{code:java}
2022-03-24 13:02:45,285 WARN [main]
org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:62) -
failed to initialize script engine 'JavaScript' in a default manner. Will try
to get script-engine from plugin-class-loader
2022-03-24 13:02:45,286 ERROR [main]
org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:73) -
Cannot get script-engine from null pluginClassLoader
2022-03-24 13:02:45,286 ERROR [main]
org.apache.ranger.plugin.conditionevaluator.RangerScriptConditionEvaluator
(RangerScriptConditionEvaluator.java:77) - failed to initialize condition
'accessed-after-expiry': script engine 'JavaScript' was not created
2022-03-24 13:02:45,579 ERROR [data-plane-kafka-request-handler-4]
apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer
(RangerKafkaAuthorizer.java:167) - Ranger Plugin returned null or empty.
Returning Denied for all {code}
was (Author: [email protected]):
Previous error seems to doesn't have an incidence of the installation.
So, I still have the same error in the log. Here is the entire log :
{code:java}
2022-03-24 13:02:45,285 WARN [main]
org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:62) -
failed to initialize script engine 'JavaScript' in a default manner. Will try
to get script-engine from plugin-class-loader
2022-03-24 13:02:45,286 ERROR [main]
org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:73) -
Cannot get script-engine from null pluginClassLoader
2022-03-24 13:02:45,286 ERROR [main]
org.apache.ranger.plugin.conditionevaluator.RangerScriptConditionEvaluator
(RangerScriptConditionEvaluator.java:77) - failed to initialize condition
'accessed-after-expiry': script engine 'JavaScript' was not created
2022-03-24 13:02:45,579 ERROR [data-plane-kafka-request-handler-4]
apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer
(RangerKafkaAuthorizer.java:167) - Ranger Plugin returned null or empty.
Returning Denied for all {code}
> Ranger should use kafka Authorizer from KIP-504
> -----------------------------------------------
>
> Key: RANGER-3231
> URL: https://issues.apache.org/jira/browse/RANGER-3231
> Project: Ranger
> Issue Type: Improvement
> Components: plugins
> Reporter: Ismael Juma
> Assignee: Andras Katona
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> As described in the KIP, `org.apache.kafka.server.authorizer.Authorizer` is
> an improvement over `kafka.security.auth.Authorizer` and it's a pure Java
> interface (instead of Scala).
> `kafka.security.auth.Authorizer` has been deprecated since December 2019 and
> it will be removed in Apache Kafka 3.0 (roughly planned for July/August).
> See the KIP for more details:
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-504+-+Add+new+Java+Authorizer+Interface
--
This message was sent by Atlassian Jira
(v8.20.1#820001)