Federico Piai created SOLR-5303:
-----------------------------------
Summary: numShards property is not properly taken into account
Key: SOLR-5303
URL: https://issues.apache.org/jira/browse/SOLR-5303
Project: Solr
Issue Type: Bug
Components: SolrCloud
Affects Versions: 4.3.1, 4.2
Environment: SolR on 3 VMs each with an external Zookeeper, multi-core
startups
Reporter: Federico Piai
It looks like the 'numShards' argument is ignored by SolR. The number of shards
is always defaulted to 1 unless cores are dynamically created with Collection
API.
I had this log :
INFO: numShards not found on descriptor - reading it from system property, I
looked for the piece of code where the log was located
((https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java))
and I found a possible error :
log.info("numShards not found on descriptor - reading it from system property");
numShards = Integer.getInteger(ZkStateReader.NUM_SHARDS_PROP);
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]