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

Solr Create collection error

Solr Create collection error



I'm using HDP 2.5 and latest solr version 7.1.0. When i try to create collection via solr i got below error, I think the problem is there in zookeeper. Please find my log

$ ./solr create -c test_solr./solr: line 2017: /opt/solr-7.1.0/solr-7.1.0/bin/ Permission denied
Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require
RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'.
Waiting up to 180 seconds to see Solr running on port 8983 [\]  
Started Solr server on port 8983 (pid=24630). Happy searching!

$ ./solr create -c test_solr
WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is
         NOT RECOMMENDED for production use.
         To turn it off:
            curl http://localhost:8886/solr/test_solr/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'

ERROR: KeeperErrorCode = ConnectionLoss for /clusterstate.json

I can able to get collection in solr admin ui. But i cannot able to create collection. Please give me some solution!!.

Don't have an account?
Coming from Hortonworks? Activate your account here