[ 
https://issues.apache.org/jira/browse/SOLR-4321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558146#comment-13558146
 ] 

Eric Falcao commented on SOLR-4321:
-----------------------------------

I am able to confirm this using the SolrCloud example documentation found at 
http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensemble

Reproduction steps:
- Follow example C
- Create a new collection: curl 
"http://localhost:8983/solr/admin/collections?action=CREATE&name=foo&numShards=2&replicationFactor=2";
- Verify that in the cloud admin, the new collection is imbalanced (it's not 
using the right mix of nodes)


I annotated the node numbers, hoping to provide some clarity (since the ip is 
the same, i hope it adds some clarity):
http://imgur.com/05L7eZ4



                
> SolrCloud collection CREATE will put multiple master shards on a single node 
> (and no shards on some)
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4321
>                 URL: https://issues.apache.org/jira/browse/SOLR-4321
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.1
>            Reporter: Brett Hoerner
>
> This is best described by a photo of my SolrCloud admin: 
> http://i.imgur.com/hW4xnxy.png
> I have a 4 node cluster, with shard count of 2 and replication factor of 2.
> After running something like,
>   
> http://localhost:8983/solr/admin/collections?action=CREATE&name=15724&numShards=2&replicationFactor=2
> The shards seem to be completely randomly placed, which is fine, but some 
> nodes receive more of the share than others (some even receiving none).
> For example, 15724 has given node "backfill-1d" 2 "parts", 
> 15724_shard1_replica2 and 15724_shard2_replica1 but has given "backfill-2d" 
> nothing at all.
> This creates unnecessary load on some nodes, no? Is this something I am 
> supposed to handle myself (I looked, but don't see how).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to