<?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 Securing Solr for Ranger Audit Logs in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167506#M41623</link>
    <description>&lt;P&gt;My client is using Solr for Ranger audit logs.  It appears that enabling Solr results in a Solr instance devoid of any security? What are the recommended paths to secure this particular instance of Solr? &lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 20:29:58 GMT</pubDate>
    <dc:creator>egarelnabi</dc:creator>
    <dc:date>2016-09-23T20:29:58Z</dc:date>
    <item>
      <title>Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167506#M41623</link>
      <description>&lt;P&gt;My client is using Solr for Ranger audit logs.  It appears that enabling Solr results in a Solr instance devoid of any security? What are the recommended paths to secure this particular instance of Solr? &lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 20:29:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167506#M41623</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-09-23T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167507#M41624</link>
      <description>&lt;P&gt;HDP 2.5 support secure solr intergration with ranger, in hdp2.5 , you can specify in ranger config whether you solr is secure , and ranger is also kerberised so it should be good to go with auditing using solr&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7915-screen-shot-2016-09-23-at-70315-pm.png" style="width: 984px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20295i8765AB31702006B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7915-screen-shot-2016-09-23-at-70315-pm.png" alt="7915-screen-shot-2016-09-23-at-70315-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:08:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167507#M41624</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2019-08-18T11:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167508#M41625</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/505/dsharma.html" nodeid="505"&gt;@deepak sharma&lt;/A&gt;.  We're still not on HDP 2.5.  Does this apply to HDP 2.3.4 and 2.4.2 or is it only 2.5+?  Also, can we connect to secure Solr instance rather than SolrCloud?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 20:36:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167508#M41625</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-09-23T20:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167509#M41626</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/445/egarelnabi.html" nodeid="445"&gt;@Eyad Garelnabi&lt;/A&gt;&lt;P&gt; Secure solr support is already in &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://github.com/hortonworks/ranger/releases/tag/HDP-2.4.3.0-tag"&gt;HDP-2.4.3.0-tag&lt;/A&gt;&lt;/LI&gt; 
&lt;LI&gt;&lt;A href="https://github.com/hortonworks/ranger/releases/tag/HDP-2.3.6.0-tag"&gt;HDP-2.3.6.0-tag&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 24 Sep 2016 03:11:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167509#M41626</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-09-24T03:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167510#M41627</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting the below error when I configured Ranger to use Solr for audits. We are using HDP-2.3.6&lt;/P&gt;&lt;P&gt;2017-04-26 09:29:22,353 [http-bio-6080-exec-2] ERROR org.apache.ranger.solr.SolrUtil (SolrUtil.java:79) - Error from Solr server.
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at &lt;A href="http://hostname:8886/solr/ranger_audit:" target="_blank"&gt;http://hostname:8886/solr/ranger_audit:&lt;/A&gt; Expected mime type application/octet-stream but got text/html. &amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&amp;gt;
&amp;lt;title&amp;gt;Error 401 Authentication required&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 401&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;Problem accessing /solr/ranger_audit/select. Reason:
&amp;lt;pre&amp;gt;    Authentication required&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;hr/&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;I see the below error when I access Solr UI&lt;/P&gt;&lt;P&gt;&lt;A href="http://hostname:8886/solr/" target="_blank"&gt;http://hostname:8886/solr/&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;GSSException: Failure unspecified at GSS-API level (Mechanism level: Specified version of key is not available (44))&lt;/PRE&gt;&lt;P&gt;The cluster is kerberized&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 01:07:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167510#M41627</guid>
      <dc:creator>venkata_gangava</dc:creator>
      <dc:date>2017-04-27T01:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Securing Solr for Ranger Audit Logs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167511#M41628</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;We are using HDP2.3.6.&lt;/P&gt;&lt;P&gt;We are geeting below error when we configured Ranger to store audit on Solr.&lt;/P&gt;&lt;P&gt;2017-04-25 09:16:23,366 WARN  [org.apache.ranger.audit.queue.AuditBatchQueue0]: provider.BaseAuditHandler (BaseAuditHandler.java:logFailedEvent(374)) - failed to log audit event: {"repoType":3,"repo":"hdpt01_hive","reqUser":"hadooptest","evtTime":"2017-04-25 09:16:21.124","access":"USE","resType":"@null","action":"SHOWDATABASES","result":1,"policy":6,"enforcer":"ranger-acl","sess":"06802e00-eda7-4bd2-a812-7e2ed2621e24","cliType":"HIVESERVER2","cliIP":"","reqData":"show schemas","agentHost":"hivehost","logType":"RangerAudit","id":"d8b3d307-0035-4613-a7ff-872fa1c46a9e","seq_num":0,"event_count":1,"event_dur_ms":0}
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at &lt;A href="http://hostname:8886/solr/ranger_audit:" target="_blank"&gt;http://hostname:8886/solr/ranger_audit:&lt;/A&gt; Expected mime type application/octet-stream but got text/html. &amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&amp;gt;
&amp;lt;title&amp;gt;Error 401 Authentication required&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 401&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;Problem accessing /solr/ranger_audit/update. Reason:
&amp;lt;pre&amp;gt;    Authentication required&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;hr/&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;The cluster is kerberized.&lt;/P&gt;&lt;P&gt;Below error is seen when accessing teh ambari-infra-solr UI&lt;/P&gt;&lt;P&gt;&lt;A href="http://hostname:8886/solr/" target="_blank"&gt;http://hostname:8886/solr/&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;GSSException: Failure unspecified at GSS-API level (Mechanism level: Specified version of key is not available (44))&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Apr 2017 01:07:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Securing-Solr-for-Ranger-Audit-Logs/m-p/167511#M41628</guid>
      <dc:creator>venkata_gangava</dc:creator>
      <dc:date>2017-04-27T01:07:52Z</dc:date>
    </item>
  </channel>
</rss>

