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

Review request for ranger, dinesh  akhand, 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
-----

  
agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java
 f2e96bf9b 
  
agents-audit/src/main/java/org/apache/ranger/audit/provider/AuditProviderFactory.java
 598659bf4 
  agents-audit/src/main/java/org/apache/ranger/audit/utils/SolrAppUtil.java 
5cb8b1be1 
  
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
 f1eb08e4e 


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


Testing
-------

tested for solr plugins


Thanks,

sanket shelar

Reply via email to