What happens if you look in "collections"?

Best,
Erick


On Mon, Oct 21, 2013 at 9:55 PM, Shawn Heisey <s...@elyograg.org> wrote:

> On 10/21/2013 1:19 PM, Branham, Jeremy [HR] wrote:
>
>> Sorl.xml [simplified by removing additional cores]
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <solr persistent="true" sharedLib="lib" zkHost="192.168.1.101:2181">
>>    <cores adminPath="/admin/cores">
>>      <core schema="/data/v8p/solr/root/**schema/schema.xml"
>> instanceDir="/data/v8p/solr/**root/" name="wdsp"
>> dataDir="/data/v8p/solr/wdsp2/**data"/>
>>      <core schema="/data/v8p/solr/root/**schema/schema.xml"
>> instanceDir="/data/v8p/solr/**root/" name="wdsp2"
>> dataDir="/data/v8p/solr/wdsp/**data"/>
>>    </cores>
>> </solr>
>>
>
> These cores that you have listed here do not look like SolrCloud-related
> cores, because they do not reference a collection or a shard.  Here's what
> I've got on a 4.2.1 box where all cores were automatically created by the
> CREATE action on the collections API:
>
>     <core schema="schema.xml" loadOnStartup="true" shard="shard1"
> instanceDir="eatatjoes_shard1_**replica2/" transient="false"
> name="eatatjoes_shard1_**replica2" config="solrconfig.xml"
> collection="eatatjoes"/>
>     <core schema="schema.xml" loadOnStartup="true" shard="shard1"
> instanceDir="test3_shard1_**replica1/" transient="false"
> name="test3_shard1_replica1" config="solrconfig.xml" collection="test3"/>
>     <core schema="schema.xml" loadOnStartup="true" shard="shard1"
> instanceDir="smb2_shard1_**replica1/" transient="false"
> name="smb2_shard1_replica1" config="solrconfig.xml" collection="smb2"/>
>
> On the commandline script -- the zkCli.sh script comes with zookeeper, but
> it is not aware of anything having to do with SolrCloud.  There is another
> script named zkcli.sh (note the lowercase C) that comes with the solr
> example (in example/cloud-scripts)- it's a very different script and will
> accept the options that you tried to give.
>
> I do wonder how much pain would be caused by renaming the Solr zkcli
> script so it's not so similar to the one that comes with Zookeeper.
>
> Thanks,
> Shawn
>
>

Reply via email to