You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Brett Hoerner (JIRA)" <ji...@apache.org> on 2013/01/20 01:00:13 UTC

[jira] [Commented] (SOLR-4321) SolrCloud collection CREATE will put multiple master shards on a single node (and no shards on some)

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

Brett Hoerner commented on SOLR-4321:
-------------------------------------

I should note that the first collection created (by being in the solr.xml before the SolrCloud instances are brought up) is fine.

I have a single collection called "default" in the config before I start my first node, and it starts with 1/2 shards and 0/2 replica (the first node). As each node is brought up for the first time it takes (in order), shard2, replica1, then replica2.

I'd like to note I'm also having another problem that is only happening on 4.1 (not 4.0), and I'm starting to think it could be related: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/browser
                
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org