You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2012/11/10 16:39:12 UTC

[jira] [Created] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

Tomás Fernández Löbbe created SOLR-4061:
-------------------------------------------

             Summary: CREATE action in Collections API should allow to upload a new configuration
                 Key: SOLR-4061
                 URL: https://issues.apache.org/jira/browse/SOLR-4061
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
            Reporter: Tomás Fernández Löbbe
            Priority: Minor


When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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


[jira] [Commented] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

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

Eric Pugh commented on SOLR-4061:
---------------------------------

What do we think about using Flash though to allow this to happen?  Requiring access to the filesystem that Solr is running on is can be pain.  For example, in our hack projects we put a single Solr up on Amazon EC2.  And I've used the zkcli client to upload configs to that shared Solr so I didn't need filesystem access.  

Maybe though I am haring off into the weeds of a ZK admin interface, not Solr specific enough.

One thought I have is what if you can supply a URI instead?  Use commons-vfs maybe, so you can pass in a 
                
> CREATE action in Collections API should allow to upload a new configuration
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4061
>                 URL: https://issues.apache.org/jira/browse/SOLR-4061
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4061.patch
>
>
> When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
> For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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


[jira] [Commented] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

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

Mark Miller commented on SOLR-4061:
-----------------------------------

I think most tools that let you upload directories end up using flash or some other hack unfortunately - at least when its a GUI selector.
                
> CREATE action in Collections API should allow to upload a new configuration
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4061
>                 URL: https://issues.apache.org/jira/browse/SOLR-4061
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4061.patch
>
>
> When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
> For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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


[jira] [Commented] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

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

Mark Miller commented on SOLR-4061:
-----------------------------------

Patch looks good.
                
> CREATE action in Collections API should allow to upload a new configuration
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4061
>                 URL: https://issues.apache.org/jira/browse/SOLR-4061
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4061.patch
>
>
> When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
> For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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


[jira] [Updated] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

Posted by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomás Fernández Löbbe updated SOLR-4061:
----------------------------------------

    Attachment: SOLR-4061.patch

Attached proposed solution. The configuration is uploaded from the node serving the request. Even there is a problem with the collection creation, the configuration files may have been uploaded anyway
                
> CREATE action in Collections API should allow to upload a new configuration
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4061
>                 URL: https://issues.apache.org/jira/browse/SOLR-4061
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4061.patch
>
>
> When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
> For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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


[jira] [Commented] (SOLR-4061) CREATE action in Collections API should allow to upload a new configuration

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

Eric Pugh commented on SOLR-4061:
---------------------------------

Tomas,

Have you given any thought to being able to select a directory of configuration on your local box and upload that directly into ZK as part of a create?  SOLR-4052 was my first cut at it, but unfortunately you can only upload files, you can't seem to select a directory and upload everything in it into ZK.
                
> CREATE action in Collections API should allow to upload a new configuration
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4061
>                 URL: https://issues.apache.org/jira/browse/SOLR-4061
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4061.patch
>
>
> When creating new collections with the Collection API, the only option is to point to an existing configuration in ZK. It would be nice to be able to upload a new configuration in the same command. 
> For more details see http://lucene.472066.n3.nabble.com/Error-with-SolrCloud-td4019351.html

--
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