Getting error while creating solr index in Hui 3.11 integration with solr 4.10.2 and external zookeeper

46 views
Skip to first unread message

Ashish Tyagi

unread,
Jan 20, 2017, 4:28:22 PM1/20/17
to Hue-Users
Hi All,

Need help !!!
Im following hue 3.11 tutorial for solr search and stucked in issue while creating solr index from hue.

I followed exact steps mentioned in this tutorial but when proceed to the 3rd step(Index it). I got below error. However, I installed the sample solr application like twitter_demo, yelp demo are working fine. Please help !!!

[20/Jan/2017 13:01:29 -0800] conf         ERROR    failed to get zookeeper ensemble
Traceback (most recent call last):
  File "/usr/local/hue/desktop/libs/indexer/src/indexer/conf.py", line 48, in zkensemble
    clusters = CLUSTERS.get()
AttributeError: 'UnspecifiedConfigSection' object has no attribute 'get'

[20/Jan/2017 13:01:31 -0800] api          ERROR    Could not create collection. Check response:
{
  "failure": {
    "": "org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error CREATEing SolrCore 'test_online_rev_shard1_replica1': Unable to create core [test_online_rev_shard1_replica1] Caused by: Specified config does not exist in ZooKeeper:test_online_rev"
  }, 
  "responseHeader": {
    "status": 0, 
    "QTime": 1158
  }
}
Message has been deleted

Romain Rigaux

unread,
Jan 24, 2017, 10:09:01 AM1/24/17
to Ashish Tyagi, Hue-Users
Did you add the proper Zookeeper ensemble in the Hue ini?

[libzookeeper]
  # ZooKeeper ensemble. Comma separated list of Host/Port.
  # e.g. localhost:2181,localhost:2182,localhost:2183
  ensemble=localhost:2181

On Fri, Jan 20, 2017 at 1:31 PM, Ashish Tyagi <ashish.ty...@gmail.com> wrote:


On Saturday, January 21, 2017 at 2:58:22 AM UTC+5:30, Ashish Tyagi wrote:
Hi All,

Need help !!!
Im following hue 3.11 tutorial  for solr search and stucked in issue while creating solr index from hue.
    Here is the tutorial link - http://gethue.com/easy-indexing-of-data-into-solr/ 

I followed exact steps mentioned in this tutorial but when proceed to the 3rd step(Index it). I got below error. However, I installed the sample solr application like twitter_demo, yelp demo are working fine. Please help !!!

[20/Jan/2017 13:01:29 -0800] conf         ERROR    failed to get zookeeper ensemble
Traceback (most recent call last):
  File "/usr/local/hue/desktop/libs/indexer/src/indexer/conf.py", line 48, in zkensemble
    clusters = CLUSTERS.get()
AttributeError: 'UnspecifiedConfigSection' object has no attribute 'get'

[20/Jan/2017 13:01:31 -0800] api          ERROR    Could not create collection. Check response:
{
  "failure": {
    "": "org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error CREATEing SolrCore 'test_online_rev_shard1_replica1': Unable to create core [test_online_rev_shard1_replica1] Caused by: Specified config does not exist in ZooKeeper:test_online_rev"
  }, 
  "responseHeader": {
    "status": 0, 
    "QTime": 1158
  }
}

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Reply all
Reply to author
Forward
0 new messages