<?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: Solrcloud in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32111#M7379</link>
    <description>Hue will pull only the cores/shards of the Solr it is pointing too.&lt;BR /&gt;&lt;BR /&gt;All the collections will appear normally though.&lt;BR /&gt;&lt;BR /&gt;Does it answer your question?&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 22 Sep 2015 00:40:55 GMT</pubDate>
    <dc:creator>Romainr</dc:creator>
    <dc:date>2015-09-22T00:40:55Z</dc:date>
    <item>
      <title>Connecting to Solrcloud from Hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32110#M7378</link>
      <description>&lt;P&gt;We like to connect to SolrCloud from Hue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By putting this configuration&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[search]&lt;/P&gt;
&lt;P&gt;# URL of the Solr Server&lt;/P&gt;
&lt;P&gt;solr_url=&lt;A href="http://SOLR_HOST:8983/solr" target="_blank"&gt;http://SOLR_HOST:8983/solr&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we could connect to the host and can see the shards of the indexes living in that host.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But we want to connect to&amp;nbsp;&lt;SPAN&gt;ZooKeeper coordination service ensemble &amp;nbsp;and we want to&amp;nbsp;&lt;/SPAN&gt;get the shards of all the indexes from every host in Solrcloud.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hue is started as a service through Cloudera Manager. But our Sol&lt;/SPAN&gt;&lt;SPAN&gt;rCloud is running outside&amp;nbsp;&lt;/SPAN&gt;Cloudera Manager cluster&amp;nbsp;in another set of nodes. Can you please how do I point to zookeeper ensemble?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:57:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32110#M7378</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2026-04-21T13:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32111#M7379</link>
      <description>Hue will pull only the cores/shards of the Solr it is pointing too.&lt;BR /&gt;&lt;BR /&gt;All the collections will appear normally though.&lt;BR /&gt;&lt;BR /&gt;Does it answer your question?&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2015 00:40:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32111#M7379</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-09-22T00:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32168#M7380</link>
      <description>&lt;P&gt;Thanks Romain for your quick&amp;nbsp;reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I connect to the host using solr_url, I only see shards/ replicas from that host.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How will this host I am pointing to, knows about all the collections in solrcoud?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zookeeper will have that information. And we are not pointing to zookeeper in Hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something here? Can you please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 18:57:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32168#M7380</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-22T18:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32171#M7381</link>
      <description>If Solr is configured in Cloud mode, this will be automatic. Are you really&lt;BR /&gt;in Cloud mode (Cloud section in the left menu of http://localhost:8983/solr&lt;BR /&gt;)?&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2015 19:46:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32171#M7381</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-09-22T19:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32177#M7382</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how we bring up Solr instances &amp;nbsp;(Solrcloud&amp;nbsp;outside Cloudera Manager)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bin/solr start -e cloud -z iphost-10-0-1-01:2181,iphost-10-0-1-02:2181,iphost-10-0-1-03:2181&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is our Zookeeper ensemble,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;iphost-10-0-1-01:2181,iphost-10-0-1-02:2181,iphost-10-0-1-03:2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We do have "-e cloud" to say this is cloud&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I stated before, Hue is running inside our Cloudera cluster and has it's own Zookeeper ensemble running inside Cloudera.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for looking into this!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:32:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32177#M7382</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-22T20:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32179#M7383</link>
      <description>&lt;P&gt;Hi Romain,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm solr is running in cloud mode. &amp;nbsp;I also see cloud on the left side in Solr UI.&lt;/P&gt;&lt;P&gt;I don't think there are any issues with our Solrcloud&amp;nbsp;installation, as we could connect to the same solrcloud&lt;/P&gt;&lt;P&gt;from fusion product (from Lucidworks) and we can see all Solr collections.&lt;/P&gt;&lt;P&gt;We connected using Zookeeper ensemble in Fusion case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:41:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32179#M7383</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-22T20:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32181#M7384</link>
      <description>Ha I see, I just repro-ed it!&lt;BR /&gt;&lt;BR /&gt;There is a problem about how we list the collections that does not seem to&lt;BR /&gt;work with upstream Solr.&lt;BR /&gt;&lt;BR /&gt;We are fixing this in this jira: &lt;A href="https://issues.cloudera.org/browse/HUE-2961" target="_blank"&gt;https://issues.cloudera.org/browse/HUE-2961&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In your code if you replace the collection function by the content of&lt;BR /&gt;collection2 it should work:&lt;BR /&gt;&lt;A href="https://github.com/cloudera/hue/blob/master/desktop/libs/libsolr/src/libsolr/api.py#L433" target="_blank"&gt;https://github.com/cloudera/hue/blob/master/desktop/libs/libsolr/src/libsolr/api.py#L433&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32181#M7384</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-09-22T20:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32191#M7385</link>
      <description>&lt;P&gt;Romain,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for creating a JIRA ticket and also information about the fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to confirm, you basically want me to do this, right? Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def collections(self):&lt;BR /&gt;try:&lt;BR /&gt;params = self._get_params() + (&lt;BR /&gt;('action', 'LIST'),&lt;BR /&gt;('wt', 'json'),&lt;BR /&gt;)&lt;BR /&gt;return self._root.get('admin/collections', params=params)['collections']&lt;BR /&gt;except RestException, e:&lt;BR /&gt;raise PopupException(e, title=_('Error while accessing Solr'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 00:11:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32191#M7385</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-23T00:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32196#M7386</link>
      <description>Yes, with the correct indentation!&lt;BR /&gt;&lt;BR /&gt;And the last thing would be to remove the&lt;BR /&gt;&lt;BR /&gt;'.key()'&lt;BR /&gt;&lt;BR /&gt;of&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/cloudera/hue/blob/master/apps/search/src/search/search_controller.py#L121" target="_blank"&gt;https://github.com/cloudera/hue/blob/master/apps/search/src/search/search_controller.py#L121&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and it should work (I just tested it on upstream Solr 5.3)&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2015 06:40:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32196#M7386</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-09-23T06:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32219#M7387</link>
      <description>&lt;P&gt;Thanks Romain! I made both the changes you outlined and it works now. I can see the collections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be doing more testing and will let you know, if we see any other issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 18:48:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32219#M7387</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-23T18:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32222#M7388</link>
      <description>It is there, look for the correct file path:&lt;BR /&gt;&lt;A href="https://github.com/cloudera/hue/blob/cdh5.4.1-release/apps/search/src/search/search_controller.py#L112" target="_blank"&gt;https://github.com/cloudera/hue/blob/cdh5.4.1-release/apps/search/src/search/search_controller.py#L112&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And FYI no need to compile, just editing and restarting Hue is enough&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:26:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32222#M7388</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-09-23T20:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Solrcloud</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32223#M7389</link>
      <description>&lt;P&gt;Yes, it is there. It is working. Thank you so much Romain!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:28:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/32223#M7389</guid>
      <dc:creator>harris</dc:creator>
      <dc:date>2015-09-23T20:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Solrcloud from Hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/47725#M7390</link>
      <description>&lt;P&gt;Tracking jira &lt;A href="https://issues.cloudera.org/browse/HUE-5304" target="_blank"&gt;https://issues.cloudera.org/browse/HUE-5304&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 19:24:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connecting-to-Solrcloud-from-Hue/m-p/47725#M7390</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-11-21T19:24:17Z</dc:date>
    </item>
  </channel>
</rss>

