You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/08/13 21:13:46 UTC

[jira] [Reopened] (SOLR-5756) A utility API to move collections from stateFormat=1 to stateFormat=2

     [ https://issues.apache.org/jira/browse/SOLR-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar reopened SOLR-5756:
-----------------------------------------

I am seeing frequent failures in CollectionStateFormat2Test since this was committed.

http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/2561/
http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13809/
http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13599/
http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13818/

A typical failure looks like:
{code}
  2> NOTE: reproduce with: ant test  -Dtestcase=CollectionStateFormat2Test -Dtests.method=test -Dtests.seed=B21128F51A7A37B8 -Dtests.slow=true -Dtests.locale=fr -Dtests.timezone=GB -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[00:27:20.744] ERROR   58.6s J1 | CollectionStateFormat2Test.test <<<
   > Throwable #1: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:41444/w_b/w: Could not find collection : myExternColl
   >    at __randomizedtesting.SeedInfo.seed([B21128F51A7A37B8:3A45172FB4865A40]:0)
   >    at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)
   >    at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234)
   >    at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226)
   >    at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:376)
   >    at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:328)
   >    at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1085)
   >    at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:856)
   >    at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799)
   >    at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220)
   >    at org.apache.solr.cloud.CollectionStateFormat2Test.testZkNodeLocation(CollectionStateFormat2Test.java:84)
   >    at org.apache.solr.cloud.CollectionStateFormat2Test.test(CollectionStateFormat2Test.java:40)
   >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

> A utility API to move collections from stateFormat=1 to stateFormat=2
> ---------------------------------------------------------------------
>
>                 Key: SOLR-5756
>                 URL: https://issues.apache.org/jira/browse/SOLR-5756
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Trunk, 5.4
>
>         Attachments: CollectionStateFormat2Test-failure.log, SOLR-5756-part2.patch, SOLR-5756-trunk.patch, SOLR-5756.patch, SOLR-5756.patch, SOLR-5756.patch
>
>
> SOLR-5473 allows creation of collection with state stored outside of clusterstate.json. We would need an API to  move existing 'internal' collections outside



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