<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question RANGER trying to use SOLR in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133721#M47766</link>
    <description>&lt;P&gt;I am getting an error when accessing the AUDIT tab "unable to connect to audit store" . When I looked at the xa_portal.log file I see the following errors ,which tells me its trying to use SOLR which I have disabled , please see the screenshot and log below :&lt;/P&gt;&lt;PRE&gt;2016-12-01 17:47:08,845 [http-bio-6080-exec-2] FATAL org.apache.ranger.solr.SolrMgr (SolrMgr.java:128) - Solr ZKHosts and URL for Audit are empty. Please set property ranger.audit.solr.zookeepers or ranger.audit.solr.urls
2016-12-01 17:47:08,845 [http-bio-6080-exec-2] WARN  org.apache.ranger.solr.SolrAccessAuditsService (SolrAccessAuditsService.java:129) - Solr client is null, so not running the query.
2016-12-01 17:47:08,845 [http-bio-6080-exec-2] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:65) - Request failed. SessionId=297, loginId=admin, logMessage=Error connecting to search engine
javax&lt;/PRE&gt;&lt;P&gt;as you see the audit to SOLR is turned off &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10033-jau4a.png" style="width: 1028px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22171i5731692D2ADD1520/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10033-jau4a.png" alt="10033-jau4a.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 09:08:40 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2019-08-19T09:08:40Z</dc:date>
    <item>
      <title>RANGER trying to use SOLR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133721#M47766</link>
      <description>&lt;P&gt;I am getting an error when accessing the AUDIT tab "unable to connect to audit store" . When I looked at the xa_portal.log file I see the following errors ,which tells me its trying to use SOLR which I have disabled , please see the screenshot and log below :&lt;/P&gt;&lt;PRE&gt;2016-12-01 17:47:08,845 [http-bio-6080-exec-2] FATAL org.apache.ranger.solr.SolrMgr (SolrMgr.java:128) - Solr ZKHosts and URL for Audit are empty. Please set property ranger.audit.solr.zookeepers or ranger.audit.solr.urls
2016-12-01 17:47:08,845 [http-bio-6080-exec-2] WARN  org.apache.ranger.solr.SolrAccessAuditsService (SolrAccessAuditsService.java:129) - Solr client is null, so not running the query.
2016-12-01 17:47:08,845 [http-bio-6080-exec-2] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:65) - Request failed. SessionId=297, loginId=admin, logMessage=Error connecting to search engine
javax&lt;/PRE&gt;&lt;P&gt;as you see the audit to SOLR is turned off &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10033-jau4a.png" style="width: 1028px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22171i5731692D2ADD1520/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10033-jau4a.png" alt="10033-jau4a.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:08:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133721#M47766</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: RANGER trying to use SOLR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133722#M47767</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;The audit tab in Ranger uses Solr to perform the queries and display audit events.  The Range audit UI can not query the audit logs on HDFS.  HDFS is only for longer term storage of the audit logs.  If you want to view audit data via the UI, you need to eanble the Audit to Solr slider.&lt;/P&gt;&lt;P&gt;Turning off the Audit to Solr option just turns off sending of the logs to Solr.  The Ranger admin UI still expects Solr for the audit display to work properly.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:01:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133722#M47767</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-12-02T07:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: RANGER trying to use SOLR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133723#M47768</link>
      <description>&lt;P&gt;You need to enable the "Audit to solr"  Refer the documentation&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/using_apache_solr_for_ranger_audits.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/using_apache_solr_for_ranger_audits.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:04:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RANGER-trying-to-use-SOLR/m-p/133723#M47768</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-12-02T07:04:54Z</dc:date>
    </item>
  </channel>
</rss>

