solr6.0伪集群搭建collection创建失败 solr6.0collectionzookeeper
程序员文章站
2022-05-02 09:53:31
...
大家好,我在自己的机子上搭建了一个solr伪集群环境,启动都成功了,但在创建时遇到问题。
创建collection指令:
solr-6.0.0-1/bin/solr create_collection -c search -d solr-6.0.0-1/solrhome/conf/files/ -shards 3 -replicationFactor 2
错误代码:
Connecting to ZooKeeper at localhost:2181,localhost:2182,localhost:2183 ...
Re-using existing configuration directory search
Creating new collection 'search' using command:
http://localhost:8984/solr/admin/collections?action=CREATE&name=search&numShards=3&replicationFactor=2&maxShardsPerNode=2&collection.configName=search
ERROR: Failed to create collection 'search' due to: Could not fully create collection: search
麻烦大家帮忙看看可能是什么问题,谢谢。
创建collection指令:
solr-6.0.0-1/bin/solr create_collection -c search -d solr-6.0.0-1/solrhome/conf/files/ -shards 3 -replicationFactor 2
错误代码:
Connecting to ZooKeeper at localhost:2181,localhost:2182,localhost:2183 ...
Re-using existing configuration directory search
Creating new collection 'search' using command:
http://localhost:8984/solr/admin/collections?action=CREATE&name=search&numShards=3&replicationFactor=2&maxShardsPerNode=2&collection.configName=search
ERROR: Failed to create collection 'search' due to: Could not fully create collection: search
麻烦大家帮忙看看可能是什么问题,谢谢。