lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fadi Mohsen <fadi.moh...@gmail.com>
Subject Re: Problems with loading core when starting Solr 5.2.1
Date Tue, 07 Jul 2015 11:47:56 GMT
Found the answer here:
http://lucidworks.com/blog/call-maybe-solrcloud-jepsen-flaky-networks/

/Fadi

> On 07 Jul 2015, at 11:48, Fadi Mohsen <fadi.mohsen@gmail.com> wrote:
> 
> Hi, Would Solr give inconsistent results if ZK quorum not achieved + one leader (last
state) goes down?
> 
> /Fadi
> 
>> On 07 Jul 2015, at 05:17, Erick Erickson <erickerickson@gmail.com> wrote:
>> 
>> A Zookeeper quorum is not necessary for searching. Well,
>> that's stating it a little too strongly. A Solr cluster will do its
>> best to search given the last state of the cluster each
>> Solr node got from Zookeeper.
>> 
>> You will not be able to index without a quorum though.
>> 
>> bq: How do I check if my Solr is running based on the external ZooKeeper or the
>> embedded ZooKeeper in Solr 5.2.1?
>> 
>> You have to specify the -DzkRun to run embedded ZK. If you didn't do that,
>> it's not running.
>> 
>> Best,
>> Erick
>> 
>> On Mon, Jul 6, 2015 at 8:13 PM, Zheng Lin Edwin Yeo
>> <edwinyeozl@gmail.com> wrote:
>>> How do I check if my Solr is running based on the external ZooKeeper or the
>>> embedded ZooKeeper in Solr 5.2.1?
>>> 
>>> Currently I can still do a search even though I've shut down 2 out of 3
>>> ZooKeeper. Only the Cloud tab is down, but the rest of the search are still
>>> working.
>>> 
>>> Regards,
>>> Edwin
>>> 
>>> 
>>> 
>>>>> On 6 July 2015 at 20:59, Shawn Heisey <apache@elyograg.org> wrote:
>>>>> 
>>>>> On 7/5/2015 10:17 PM, Zheng Lin Edwin Yeo wrote:
>>>>> I've just migrated to Solr 5.2.1 with external ZooKeeper 3.4.6.
>>>>> 
>>>>> Whenever I tried to start Solr using these command, the Solr servers
gets
>>>>> started, but none of the cores is actually loaded.
>>>>> - bin\solr.cmd start -cloud -z localhost:2181
>>>>> - bin\solr.cmd -cloud -p 8983 -s server\solr -z localhost:2181
>>>>> 
>>>>> I can only get the core to be loaded when I use the following command
>>>>> - bin\solr.cmd -e cloud -z localhost:2181
>>>> 
>>>> After you have created the cloud example, you need different commands to
>>>> restart or start those nodes.  See the "Restarting Nodes" section of
>>>> this page for some help with doing this:
>>>> 
>>>> 
>>>> https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+SolrCloud
>>>> 
>>>> Thanks,
>>>> Shawn
>>>> 
>>>> 

Mime
View raw message