-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74613/
-----------------------------------------------------------

(Updated Feb. 6, 2025, 11:51 a.m.)


Review request for ranger, dinesh  akhand, Dineshkumar Yadav, Kishor 
Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, 
Sailaja Polavarapu, and Velmurugan Periasamy.


Bugs: RANGER-3346
    https://issues.apache.org/jira/browse/RANGER-3346


Repository: ranger


Description
-------

SolrAuditDestination class connects to Solr by building client with 
HttpClientUtil (from SolrJ library).
It's fine except in case of Solr Ranger Plugin. The Solr server uses the SolrJ 
lib as well for communication among its nodes and sets static/global 
configuration inside the HttpClientUtil which makes the SolrAuditDestination 
class's client to misbehave as sending the audits request with a header which 
forces the authentication to PKI. Prior to Solr 8.8 it leaded to only warning 
level Exceptions but after this version this will cause failure when sending 
audits.

Relevant Solr JIRA about changing the implementation of HttpClientUtil class:
https://issues.apache.org/jira/browse/SOLR-15388


Diffs (updated)
-----

  
agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
 4be6002e3 
  agents-audit/src/main/java/org/apache/ranger/audit/utils/SolrAppUtil.java 
83612bde7 


Diff: https://reviews.apache.org/r/74613/diff/3/

Changes: https://reviews.apache.org/r/74613/diff/2-3/


Testing
-------

tested for solr plugins


Thanks,

sanket shelar

Reply via email to