Solr 7.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Solr 7.2

Antony A
 Hi,

I am trying to add a replica to the ssl-enabled solr cloud with external
zookeeper ensemble.

2018-04-12 18:26:29.140 INFO  (qtp672320506-51) [   ]
o.a.s.h.a.CollectionsHandler Invoked Collection Action :addreplica with
params node=<ip:port>_solr&action=ADDREPLICA&collection=collection_name&shard=shard1
and sendToOCPQueue=true

2018-04-12 18:26:29.151 ERROR (OverseerThreadFactory-10-
thread-5-processing-n:<ip:port>_solr) [   ] o.a.s.c.
OverseerCollectionMessageHandler Collection: tnlookup operation: addreplica
failed:org.apache.solr.common.SolrException: At lea
Reply | Threaded
Open this post in threaded view
|

Re: Solr 7.2

Zheng Lin Edwin Yeo
Hi,

I can't really catch what is the issue you are facing.

Regards,
Edwin

On 13 April 2018 at 04:06, Antony A <[hidden email]> wrote:

>  Hi,
>
> I am trying to add a replica to the ssl-enabled solr cloud with external
> zookeeper ensemble.
>
> 2018-04-12 18:26:29.140 INFO  (qtp672320506-51) [   ]
> o.a.s.h.a.CollectionsHandler Invoked Collection Action :addreplica with
> params node=<ip:port>_solr&action=ADDREPLICA&collection=
> collection_name&shard=shard1
> and sendToOCPQueue=true
>
> 2018-04-12 18:26:29.151 ERROR (OverseerThreadFactory-10-
> thread-5-processing-n:<ip:port>_solr) [   ] o.a.s.c.
> OverseerCollectionMessageHandler Collection: tnlookup operation:
> addreplica
> failed:org.apache.solr.common.SolrException: At lea
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 7.2

Antony A
In reply to this post by Antony A
Hi Edwin,

Thank you. I was trying to create the collection using the API.
Unfortunately the API changes a bit between 6x to 7x.

I posted the API that I used to create the collection and subsequently when
trying to create cores for the same collection.

https://pastebin.com/hrydZktX

Hopefully this helps.

Thanks

On Thu, Apr 12, 2018 at 2:06 PM, Antony A <[hidden email]> wrote:

> Hi,
>
> I am trying to add a replica to the ssl-enabled solr cloud with external
> zookeeper ensemble.
>
> 2018-04-12 18:26:29.140 INFO  (qtp672320506-51) [   ]
> o.a.s.h.a.CollectionsHandler Invoked Collection Action :addreplica with
> params node=<ip:port>_solr&action=ADDREPLICA&collection=collection_name&shard=shard1
> and sendToOCPQueue=true
>
> 2018-04-12 18:26:29.151 ERROR (OverseerThreadFactory-10-thre
> ad-5-processing-n:<ip:port>_solr) [   ] o.a.s.c.OverseerCollectionMessageHandler
> Collection: tnlookup operation: addreplica failed:org.apache.solr.common.SolrException:
> At lea
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 7.2

Shawn Heisey-2
On 4/12/2018 9:48 PM, Antony A wrote:
> Thank you. I was trying to create the collection using the API.
> Unfortunately the API changes a bit between 6x to 7x.
>
> I posted the API that I used to create the collection and subsequently when
> trying to create cores for the same collection.
>
> https://pastebin.com/hrydZktX

You're going to need to look for errors in the solr.log file.  There
should be something that explains what went wrong.The logfile often has
more information than the response.

The top guess I have is that Java couldn't validate the certificate for
https, but without error logs, I can't say for sure.

Thanks,
Shawn

Reply | Threaded
Open this post in threaded view
|

Re: Solr 7.2

Antony A
Thank you Shawn & Edwin. It was a certificate error. I did not have the IPs
list in the SAN in the format required for IPs. After I updated the SAN
list, I was able to run the ADDREPLICA API correctly.

-Antony

On Thu, Apr 12, 2018 at 10:20 PM, Shawn Heisey <[hidden email]> wrote:

> On 4/12/2018 9:48 PM, Antony A wrote:
>
>> Thank you. I was trying to create the collection using the API.
>> Unfortunately the API changes a bit between 6x to 7x.
>>
>> I posted the API that I used to create the collection and subsequently
>> when
>> trying to create cores for the same collection.
>>
>> https://pastebin.com/hrydZktX
>>
>
> You're going to need to look for errors in the solr.log file.  There
> should be something that explains what went wrong.The logfile often has
> more information than the response.
>
> The top guess I have is that Java couldn't validate the certificate for
> https, but without error logs, I can't say for sure.
>
> Thanks,
> Shawn
>
>