We like to connect to SolrCloud from Hue.
By putting this configuration
# URL of the Solr Server
we could connect to the host and can see the shards of the indexes living in that host.
But we want to connect to ZooKeeper coordination service ensemble and we want to get the shards of all the indexes from every host in Solrcloud.
Hue is started as a service through Cloudera Manager. But our SolrCloud is running outside Cloudera Manager cluster in another set of nodes. Can you please how do I point to zookeeper ensemble?
Thanks Romain for your quick reply.
When I connect to the host using solr_url, I only see shards/ replicas from that host.
How will this host I am pointing to, knows about all the collections in solrcoud?
Zookeeper will have that information. And we are not pointing to zookeeper in Hue.
Am I missing something here? Can you please help?
This is how we bring up Solr instances (Solrcloud outside Cloudera Manager)
bin/solr start -e cloud -z iphost-10-0-1-01:2181,iphost-10-0-1-02:2181,iphost-10-0-1-03:2181
and this is our Zookeeper ensemble,
We do have "-e cloud" to say this is cloud
As I stated before, Hue is running inside our Cloudera cluster and has it's own Zookeeper ensemble running inside Cloudera.
Thanks for looking into this!
I can confirm solr is running in cloud mode. I also see cloud on the left side in Solr UI.
I don't think there are any issues with our Solrcloud installation, as we could connect to the same solrcloud
from fusion product (from Lucidworks) and we can see all Solr collections.
We connected using Zookeeper ensemble in Fusion case.
Thanks for creating a JIRA ticket and also information about the fix.
Just to confirm, you basically want me to do this, right? Thanks again!
params = self._get_params() + (
return self._root.get('admin/collections', params=params)['collections']
except RestException, e:
raise PopupException(e, title=_('Error while accessing Solr'))
Thanks Romain! I made both the changes you outlined and it works now. I can see the collections.
I will be doing more testing and will let you know, if we see any other issues.
Thank you so much.