You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2011/08/19 20:28:27 UTC

[jira] [Created] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
-------------------------------------------------------------------------------------------

                 Key: SOLR-2723
                 URL: https://issues.apache.org/jira/browse/SOLR-2723
             Project: Solr
          Issue Type: New Feature
            Reporter: Mark Miller
             Fix For: 4.0


When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
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


[jira] [Updated] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-2723:
------------------------------

    Component/s: SolrCloud

> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
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


[jira] [Commented] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116788#comment-13116788 ] 

Mark Miller commented on SOLR-2723:
-----------------------------------

I've committed some initial work here on the solrcloud branch. Super early stuff, just working on getting frameworks out so we can iterate, but has a basic collection lock impl, and assigns 3 slices before it starts evenly adding replicas.

Still need a way to set the number of slices (core creation param?) - it's conveniently hard coded to 3.

Might want to make this pluggable, but def not yet.
                
> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141182#comment-13141182 ] 

Mark Miller commented on SOLR-2723:
-----------------------------------

This is currently implemented with a very simple collection lock - since we are likely going to have an overseer, we should likely move from this impl to having the overseer assign.
                
> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161392#comment-13161392 ] 

Mark Miller commented on SOLR-2723:
-----------------------------------

Sami has refined this with SOLR-2880 - now an Overseer assigns nodes to shards rather than using the simple collection lock.
                
> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094407#comment-13094407 ] 

Jan Høydahl commented on SOLR-2723:
-----------------------------------

Hmm, should startup sequence determine role? Sceptical, but if this is on first boot only, and only if not choosing a shard name, perhaps...

> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
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


[jira] [Resolved] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-2723.
-------------------------------

    Resolution: Fixed

Thanks!
                
> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Assigned] (SOLR-2723) If you don't choose a shard name for a SolrCore, the system should auto assign shard names.

Posted by "Mark Miller (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reassigned SOLR-2723:
---------------------------------

    Assignee: Mark Miller
    
> If you don't choose a shard name for a SolrCore, the system should auto assign shard names.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2723
>                 URL: https://issues.apache.org/jira/browse/SOLR-2723
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>
> When you first boot up a node with the collection files to use, you might also pass how many slices you want - if you choose 3 slices, the first 3 nodes that come up would each go to a different slice and get a unique shard name - further nodes that come up would be replicas in each slice and get one of the 3 shard names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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