[ 
https://issues.apache.org/jira/browse/RANGER-5299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey updated RANGER-5299:
---------------------------
    Description: 
When integrating Kafka 3.7.0, 3.9.1, and possibly 3.1+ after calling 
IsAccessAllowed

[https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L298]

on auditHandler, a null pointer exception error occurs

[https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L303]

Commit for fix [https://github.com/apache/ranger/pull/645]

Please figure it out and accept the fix or change the behavior to remove the 
error
 
 

  was:
When integrating Kafka 3.7.0, 3.9.1, and possibly 3.1+ after calling 
IsAccessAllowed

[https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L298]

on AuditNandler, a null pointer exception error occurs

[https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L303]

Commit for fix https://github.com/apache/ranger/pull/645

Please figure it out and accept the fix or change the behavior to remove the 
error
 


> Fixing null pointer exception in kafka plugin
> ---------------------------------------------
>
>                 Key: RANGER-5299
>                 URL: https://issues.apache.org/jira/browse/RANGER-5299
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.5.0, 2.6.0, 2.7.0
>            Reporter: Alexey
>            Priority: Major
>             Fix For: 3.0.0, 2.8.0
>
>
> When integrating Kafka 3.7.0, 3.9.1, and possibly 3.1+ after calling 
> IsAccessAllowed
> [https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L298]
> on auditHandler, a null pointer exception error occurs
> [https://github.com/apache/ranger/blob/release-ranger-2.7.0/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java#L303]
> Commit for fix [https://github.com/apache/ranger/pull/645]
> Please figure it out and accept the fix or change the behavior to remove the 
> error
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to