Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hi, I'm getting the following error :" ERROR: create failed due to: KeeperErrorCode = ConnectionLoss for /clusterstate.json " when I try to create a collection in solr. Can anybody help?

Hi, I'm getting the following error :" ERROR: create failed due to: KeeperErrorCode = ConnectionLoss for /clusterstate.json " when I try to create a collection in solr. Can anybody help?

New Contributor
 
3 REPLIES 3

Re: Hi, I'm getting the following error :" ERROR: create failed due to: KeeperErrorCode = ConnectionLoss for /clusterstate.json " when I try to create a collection in solr. Can anybody help?

Super Guru

Do you mind providing your log stack trace?

Re: Hi, I'm getting the following error :" ERROR: create failed due to: KeeperErrorCode = ConnectionLoss for /clusterstate.json " when I try to create a collection in solr. Can anybody help?

New Contributor

@Sunile Manjee I'm new to solr. After installing solr, I'm using the following command to create collection:

sudo su - solr -c "/opt/lucidworks-hdpsearch/solr/bin/solr create -c gettingstarted -n data_driven_schema_configs"

But it throws the error which I have mentioned in the question.

Re: Hi, I'm getting the following error :" ERROR: create failed due to: KeeperErrorCode = ConnectionLoss for /clusterstate.json " when I try to create a collection in solr. Can anybody help?

New Contributor

check if you have an active solr service.

Try to create a solr collection having your own user-id, instead of being "solr"