Specifically, how did you push the configuration to Zookeeper?

Does the config exist in a separate "chroot" on Zookeeper?  If so, do all
the collection names exist inside there (On Zookeeper)?

On Fri, Sep 9, 2016 at 2:01 PM, igiguere <igigu...@opentext.com> wrote:

> Hi;
>
> I am migrating collections from Solr 4.3 to Solr 5.4.1
>
> The configuration was pushed to Zookeeper, on the Zookeeper connected with
> Solr 5.4.1:
> schema.xml: <schema name="otac_en" version="1.5">
> solrconfig.xml: <luceneMatchVersion>5.4.1</luceneMatchVersion>
>
> I can manually create a new core, using the Solr Admin UI, as long as I use
> the name "otac_en" for parameter "collection".  Solr default for
> collection.configName is the same name given for the collection.
>
> However, I have to migrate a number of collections that have a variety of
> names, some name created automatically by an application (example:
> a-0c512bac-abc9-48e9-8f66-96432b724263_shard1_replica1)
>
> "Normally", if the collections have the same name as the configuration, I
> can either point the new Solr 5.4.1 home to the old Solr 4.3 home, or copy
> the collection folder from the old /solr folder to the new /solr.
>
> But here, for every collection that has a different name than the config, I
> get:
> SolrCore Initialization Failures
> a-0c512bac-abc9-48e9-8f66-96432b724263_shard1_replica1:
> org.apache.solr.common.cloud.ZooKeeperException:org.apache.
> solr.common.cloud.ZooKeeperException:
> Could not find configName for collection
> a-0c512bac-abc9-48e9-8f66-96432b724263 found:[otif_und, otif_de, otif_fr,
> otif_it, otif_es, otif_nl, otif_noText, otif_ja, otac_en, otif_en, otif_pt,
> otif_ru]
>
> Where can I specify collection.configName when SolrCore Initialization runs
> ?
>
> Thanks;
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Migrating-config-found-but-not-mapped-to-
> collection-tp4295375.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to