lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7766) support creation of a coreless collection
Date Wed, 05 Aug 2015 14:50:05 GMT

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

Christine Poerschke commented on SOLR-7766:
-------------------------------------------

seeing this in the test failure:
{code}
   [junit4]   2> 62928 ERROR (TEST-TestAuthenticationFramework.testBasics-seed#[F8DED25E22E9AF52])
[    ] o.a.s.c.s.i.CloudSolrClient Request to collection testAuthenticationFrameworkCollection
failed due to (510) org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at http://127.0.0.1:64008/solr/testAuthenticationFrameworkCollection: Expected
mime type application/octet-stream but got text/html. <html>
   [junit4]   2> <head>
   [junit4]   2> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
   [junit4]   2> <title>Error 510 </title>
   [junit4]   2> </head>
   [junit4]   2> <body>
   [junit4]   2> <h2>HTTP ERROR: 510</h2>
   [junit4]   2> <p>Problem accessing /solr/testAuthenticationFrameworkCollection/select.
Reason:
   [junit4]   2> <pre>    {msg={&quot;testAuthenticationFrameworkCollection&quot;:15},code=510}</pre></p>
   [junit4]   2> <hr /><i><small>Powered by Jetty://</small></i>
   [junit4]   2> </body>
   [junit4]   2> </html>
{code}

ran 'ant test -Dtestcase=TestAuthenticationFramework' ten times and half the time got that
error. will investigate further before committing to branch_5x

> support creation of a coreless collection
> -----------------------------------------
>
>                 Key: SOLR-7766
>                 URL: https://issues.apache.org/jira/browse/SOLR-7766
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-7766.patch, SOLR-7766.txt
>
>
> By supplying the special value of EMPTY for the createNodeSet parameter (via {{.../solr/admin/collections?action=CREATE&createNodeSet=EMPTY&name=myCollection&...}})
a collection can be created in the usual manner but it will just not yet contain any cores
for any of its shards. Later on {{.../solr/admin/collections?wt=json&action=ADDREPLICA&collection=myCollection&...}}
calls can create cores as and when and where required.
> github pull request with proposed changes to follow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message