<?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: SOLR server connection refused in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134118#M47774</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/10115/sahmad43.html"&gt;Sami Ahmad&lt;/A&gt; which version of hadoop are you using ?&lt;/P&gt;&lt;P&gt;is this secure solr ?&lt;/P&gt;&lt;P&gt;if it is secure solr then we need to perform some extra steps , can you just confirm ?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2016 15:56:40 GMT</pubDate>
    <dc:creator>dsharma</dc:creator>
    <dc:date>2016-12-02T15:56:40Z</dc:date>
    <item>
      <title>SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134116#M47772</link>
      <description>&lt;P&gt;my SOLR server is up and running but when ranger tries to connect to it I get error :&lt;/P&gt;&lt;P&gt;iam not sure if the ranger audit url   I am using is correct since its unreachable "http://hadoop1:8983/solr/ranger_audits"  ?&lt;/P&gt;&lt;P&gt;if I try to go to this url I get the error &lt;/P&gt;&lt;PRE&gt;HTTP ERROR 404
Problem accessing /solr/ranger_audits. Reason:
    Not Found
&lt;/PRE&gt;&lt;PRE&gt;2016-12-01 22:25:03,511 [http-bio-6080-exec-5] ERROR org.apache.ranger.solr.SolrUtil (SolrUtil.java:78) - Error from Solr server.
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at &lt;A href="http://hadoop1:8983/solr/ranger_audits:" target="_blank" rel="nofollow noopener noreferrer"&gt;http://hadoop1:8983/solr/ranger_audits:&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 404 Not Found&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 404&amp;lt;/h2&amp;gt;
&amp;lt;p&amp;gt;Problem accessing /solr/ranger_audits/select. Reason:
&amp;lt;pre&amp;gt;    Not Found&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/PRE&gt;&lt;P&gt;the SOLR console is reachable  &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10034-capture.jpg" style="width: 797px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22150iC3CE0CA18C9B1241/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10034-capture.jpg" alt="10034-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:06:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134116#M47772</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134117#M47773</link>
      <description>&lt;P&gt;I noticed there are no cores available in SOLR admin , so do I have to create a core before  I can connect with the above url ?  if yes can you please guide me on how to do  that ?&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="10035-capture.jpg" style="width: 817px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22149i77ADB0915267448E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10035-capture.jpg" alt="10035-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:06:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134117#M47773</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134118#M47774</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/10115/sahmad43.html"&gt;Sami Ahmad&lt;/A&gt; which version of hadoop are you using ?&lt;/P&gt;&lt;P&gt;is this secure solr ?&lt;/P&gt;&lt;P&gt;if it is secure solr then we need to perform some extra steps , can you just confirm ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 15:56:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134118#M47774</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-12-02T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134119#M47775</link>
      <description>&lt;P&gt;I am on HDP2.5 ,  I am not sure if its secure SOLR or not , how can I find out ?&lt;/P&gt;&lt;P&gt;I couldn't find any document from Hortonworks about how to setup SOLR for Ranger , can you point me to one?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 00:32:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134119#M47775</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-03T00:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134120#M47776</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;&lt;P&gt;Check these documents &lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/Install+and+Configure+Solr+for+Ranger+Audits+-+Apache+Ranger+0.5" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/Install+and+Configure+Solr+for+Ranger+Audits+-+Apache+Ranger+0.5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/69582/ranger-trying-to-use-solr.html#answer-69584" target="_blank"&gt;https://community.hortonworks.com/questions/69582/ranger-trying-to-use-solr.html#answer-69584&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 03:15:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134120#M47776</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-12-06T03:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134121#M47777</link>
      <description>&lt;P&gt;I am not fi nding anywhere in these links where the following screen is explained , please help&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="10035-capture.jpg" style="width: 817px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22148iE23798A8E5B11D59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10035-capture.jpg" alt="10035-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:05:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134121#M47777</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134122#M47778</link>
      <description>&lt;P&gt;ok I copied the solrconfig.xml and  schema.xml files into the /root/solr-6.3.0/server/lib folder  but now I am getting this error :&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="10078-capture.jpg" style="width: 1529px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22147iDA1334ACF9C28431/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10078-capture.jpg" alt="10078-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:05:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134122#M47778</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134123#M47779</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; - You've got a couple of things going on. It looks like you are not using the Ambari Infra Solr installation. To use an external Solr, follow these instructions. You'll be using scripts rather than the UI to create the collection. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/solr_ranger_configure_solrcloud.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/solr_ranger_configure_solrcloud.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The version of Solr you as using may not work with Ambari. You should use 5.2.1 or 5.5.2 to be consistent with what's released with HDP. If you go to 6.x, being a major release, you may encounter significatn issues. Also note that $SOLR/server/lib is not the directory where your config files wold belong with Solr anyway. Normally you'll put them into a "config" directory somewhere. They cannot be in a directory with binary files or you will definitely encounter issues when it tries to load the directory into Zookeeper and then you have a bigger mess to clean up.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 06:35:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134123#M47779</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-12-06T06:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134124#M47780</link>
      <description>&lt;P&gt;A.so, to install the right version of Solr, I'd recommend this page: &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/installing_external_solr.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/installing_external_solr.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 06:37:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134124#M47780</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-12-06T06:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134125#M47781</link>
      <description>&lt;P&gt;can you guide me on how to install Ambari Infra Solr installation as I didnt find it in the add services ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:28:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134125#M47781</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2016-12-06T07:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134126#M47782</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; Which version of Ambari are you on? Ambari Infra is only in Ambari 2.4.0 and later.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:38:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134126#M47782</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-12-06T07:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134127#M47783</link>
      <description>&lt;P&gt;I just checked and Ambari Infra is already installed in my HDP2.5 cluster .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10110-capture2.jpg" style="width: 1013px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22146i0426DC348ADCB776/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10110-capture2.jpg" alt="10110-capture2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:05:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134127#M47783</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-08-19T09:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134128#M47784</link>
      <description>&lt;P&gt;Are you also using Ambari 2.4.x? I believe Ambari Infra is shipped wit Ambari 2.4.x, not HDP 2.5. It's sort of like Ambari Metrics is part of Ambari but not directly part of HDP, even though it works with HDP. Assuming you have Ambari 2.4.x, do you don't see "Ambari Infra" when you select Add Service (it does not have the name Solr in it in Ambari)?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:18:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134128#M47784</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-12-06T08:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR server connection refused</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134129#M47785</link>
      <description>&lt;P&gt;Glad you have it worked out. Somehow I missed your last post stating that it is already installed, so my previous comment is OBE. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 02:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLR-server-connection-refused/m-p/134129#M47785</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-12-07T02:26:04Z</dc:date>
    </item>
  </channel>
</rss>

