Hi, there.

There is a strange behavior I'm not capable of trace when set up solr in
cloud mode.

I'm able to start solr in cloud mode following this tutorial.

https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+SolrCloud
Just following instructions.

We are trying to set up manually using those steps.

1. We make node directories and copy the files we are using currently
    bin/solr start -cloud -p 8983 -s "server/solr/node1/solr"
    bin/solr start -cloud -p 7574 -s "path/to/node2/solr" -z localhost:9983

2. We copy our configuration to upload to zookeeper under
solr/config/config_name and use zkcli script
    ./zkcli.sh -cmd upconfig -confdir
/usr/local/Cellar/solr/6.5.0/server/solr/configsets/uda_config/conf 
      -confname uda_conf -z localhost:9983

3. We create collections via REST api with:
   
http://localhost:8983/solr/admin/collections?action=CREATE&name=uda&numShards=2&replicationFactor=1&maxShardsPerNode=1&collection.configName=uda

After this step all my solr install_dir is deleted, so, I'm not able to
trace the error. The rest api just throw us the next error:

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <lst name="responseHeader">
        <int name="status">0</int>
        <int name="QTime">34043</int>
    </lst>
    <lst name="failure">
        <str
name="172.16.13.166:8983_solr">org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
from server at http://172.16.13.166:8983/solr: Error CREATEing SolrCore
'uda_1_shard1_replica1': Unable to create core [uda_1_shard1_replica1]
Caused by: Lock held by another program:
/usr/local/Cellar/solr/6.5.0/index/write.lock</str>
    </lst>
    <lst name="success">
        <lst name="172.16.13.166:7574_solr">
            <lst name="responseHeader">
                <int name="status">0</int>
                <int name="QTime">2865</int>
            </lst>
            <str name="core">uda_1_shard2_replica1</str>
        </lst>
    </lst>
</response>

I don't even know how to trace this error of find something similar. 

Hope you can help me and thanks in advance.







--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-installdir-deleted-after-set-up-solr-cloud-tp4338305.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to