You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Federico Piai (JIRA)" <ji...@apache.org> on 2013/10/04 16:39:44 UTC
[jira] [Created] (SOLR-5303) numShards property is not properly
taken into account
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org