If you use Zookeeper you'll be fine if (and only if)
the node was shut down gracefully. In that case Zookeeper
should be completely current.

If someone just pulled the plug on a Solr node though,
you'll have to wait until Zookeeper times out when
pinging the Solr node, perhaps minutes.

If you do use Zookeeper, be sure you check
"live_nodes" as the state.json for
any particular collection may or may not be
updated promptly.

Best,
Erick

On Sat, Sep 10, 2016 at 8:03 AM, Rohit Kanchan <rohitkan2...@gmail.com> wrote:
> I think it is better to use zookeeper data. Solr Cloud updates zookeeper
> about node status. If you are using cloud then u can check zookeeper
> cluster api and get status of node from there. Zookeeper cluster state api
> can give you information about your Solr cloud. I hope this helps.
>
> Thanks
> Rohit Kanchan
>
>
> On Fri, Sep 9, 2016 at 3:38 PM, Brent <brent.pear...@gmail.com> wrote:
>
>> Is there a way to tell whether or not a node at a specific address is up
>> using a SolrJ API?
>>
>>
>>
>> --
>> View this message in context: http://lucene.472066.n3.
>> nabble.com/Detecting-down-node-with-SolrJ-tp4295402.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>

Reply via email to