<?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 Re: Ranger audit with Solr doesn't work in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183824#M80691</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/84313/jsneep.html" nodeid="84313"&gt;@Jonathan Sneep&lt;/A&gt; I installed my cluster via Ambari so there is no such directory. I looked at ranger-admin directory all are .py script not .sh&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 12:48:57 GMT</pubDate>
    <dc:creator>erkansirin78</dc:creator>
    <dc:date>2018-07-16T12:48:57Z</dc:date>
    <item>
      <title>Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183820#M80687</link>
      <description>&lt;P&gt;I use HDP 2.6.3. I use Ranger. From Ranger UI once I click Audit I see the following ERROR.&lt;/P&gt;&lt;PRE&gt;Error running solr query, please check solr configs.Errorfrom server at &lt;A href="http://hadooptest01.datalonga.com:8886/solr/ranger_audits:" target="_blank" rel="nofollow noopener noreferrer"&gt;http://hadooptest01.datalonga.com:8886/solr/ranger_audits:&lt;/A&gt; Expected mime type application/octet-stream but got text/html.&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="80496-ranger-audit-error-01.png" style="width: 1199px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19034i469E82A6F4BA1B7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="80496-ranger-audit-error-01.png" alt="80496-ranger-audit-error-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:39:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183820#M80687</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2019-08-18T08:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183821#M80688</link>
      <description>&lt;P&gt;It might just be that there is no data yet to display. During your setup, did you run&lt;/P&gt;&lt;PRE&gt;/opt/solr/ranger_audit_server/scripts/create_ranger_audits_collection.sh &lt;/PRE&gt;&lt;P&gt;[see also; https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_security/content/solr_ranger_configure_solrcloud.html]&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 22:04:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183821#M80688</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-07-13T22:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183822#M80689</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/30172/erkansirin78.html" nodeid="30172"&gt;@Erkan ŞİRİN&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;It looks that ranger_audits collection is not created. This is supposed to be created when Audit to solr is enabled in "Ranger Audit" Tab. &lt;/P&gt;&lt;P&gt;Ambari will create ranger_audits collection when ranger admin service is restarted with Audit to solr enabled.&lt;/P&gt;&lt;P&gt;Make sure that Infra-solr service is insatalled in cluster and "Audit to solr" and "Solr cloud" is enabled. Restart Ranger admin service, check the Ambari operation log for Ranger admin service start and see if ranger_audits collection is successfully created. You may need to troubleshoot solr if the create-collection fails with any error. &lt;/P&gt;</description>
      <pubDate>Sun, 15 Jul 2018 15:13:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183822#M80689</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2018-07-15T15:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183823#M80690</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/30172/erkansirin78.html" rel="nofollow noopener noreferrer" target="_blank"&gt;@Erkan ŞİRİN&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Did you enable your plugin like below &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="80510-solr-config.jpg" style="width: 1047px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19033i7693FDDE90EBAB1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="80510-solr-config.jpg" alt="80510-solr-config.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I would advice you to restart the cluster it happened to me once that the audits ONLY popped up after the restart of cluster for reasons I don't know yet !&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Make sure you see  the entry in zookeeper too &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:39:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183823#M80690</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-08-18T08:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183824#M80691</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/84313/jsneep.html" nodeid="84313"&gt;@Jonathan Sneep&lt;/A&gt; I installed my cluster via Ambari so there is no such directory. I looked at ranger-admin directory all are .py script not .sh&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 12:48:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183824#M80691</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2018-07-16T12:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger audit with Solr doesn't work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183825#M80692</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari&lt;/A&gt; I just enabled SolrCloud and restarted. I don't see audit error anymore.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:23:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-audit-with-Solr-doesn-t-work/m-p/183825#M80692</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2018-07-16T13:23:19Z</dc:date>
    </item>
  </channel>
</rss>

