You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by HariBabu kuruva <ha...@gmail.com> on 2023/05/12 04:23:01 UTC
Unable to create collections
Hi All,
I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
though the zookeepers and Solr services are running fine.
*Cluster Details:*
2 solr Nodes: (running on different hosts)
3 Zookeepers: (running on different hosts)
CPU: 4 for all nodes
Ram: 60 GB for solr host1 and 30 GB for solr host2.
I see below errors in Solr logs.
2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
hostname.corp.company.com:8981_solr =>
java.util.concurrent.ExecutionException:
org.apache.solr.client.solrj.SolrServerException: IOException occurred when
talking to server at: http://hostname.corp.company.com:8981/solr
at
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
java.util.concurrent.ExecutionException:
org.apache.solr.client.solrj.SolrServerException: IOException occurred when
talking to server at: http://hostname.corp.company.com:8981/solr
Caused by: org.apache.http.client.ClientProtocolException
*Caused by: org.apache.http.ProtocolException: The server failed to respond
with a valid HTTP response*
Note:Certs are valid.
Also, I am unable to create any collections. I see below errors when i try
to create collections.
"failure":{
"hostname.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
occurred when talking to server at:
http://company.corp.company.com:8981/solr",
"hostname1.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
occurred when talking to server at:
http://hostname1.corp.company.com:8981/solr"},
"Operation create caused
exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Underlying core creation failed while creating collection: capacityStore",
"exception":{
"msg":"Underlying core creation failed while creating collection:
capacityStore",
"rspCode":400},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"Underlying core creation failed while creating collection:
capacityStore",
"code":400}}
Please suggest.
--
Thanks and Regards,
Hari
Mobile:9790756568
Re: Unable to create collections
Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,
Have you configured SSL on the Solr hosts? If so, you need to set the urlScheme cluster property accordingly.
Jan
> 12. mai 2023 kl. 06:23 skrev HariBabu kuruva <ha...@gmail.com>:
>
> Hi All,
>
> I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
> though the zookeepers and Solr services are running fine.
>
> *Cluster Details:*
> 2 solr Nodes: (running on different hosts)
> 3 Zookeepers: (running on different hosts)
> CPU: 4 for all nodes
> Ram: 60 GB for solr host1 and 30 GB for solr host2.
>
> I see below errors in Solr logs.
>
> 2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
> o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
> hostname.corp.company.com:8981_solr =>
> java.util.concurrent.ExecutionException:
> org.apache.solr.client.solrj.SolrServerException: IOException occurred when
> talking to server at: http://hostname.corp.company.com:8981/solr
> at
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> java.util.concurrent.ExecutionException:
> org.apache.solr.client.solrj.SolrServerException: IOException occurred when
> talking to server at: http://hostname.corp.company.com:8981/solr
>
> Caused by: org.apache.http.client.ClientProtocolException
>
> *Caused by: org.apache.http.ProtocolException: The server failed to respond
> with a valid HTTP response*
>
> Note:Certs are valid.
>
> Also, I am unable to create any collections. I see below errors when i try
> to create collections.
>
> "failure":{
> "hostname.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> occurred when talking to server at:
> http://company.corp.company.com:8981/solr",
> "hostname1.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> occurred when talking to server at:
> http://hostname1.corp.company.com:8981/solr"},
> "Operation create caused
> exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> Underlying core creation failed while creating collection: capacityStore",
> "exception":{
> "msg":"Underlying core creation failed while creating collection:
> capacityStore",
> "rspCode":400},
> "error":{
> "metadata":[
> "error-class","org.apache.solr.common.SolrException",
> "root-error-class","org.apache.solr.common.SolrException"],
> "msg":"Underlying core creation failed while creating collection:
> capacityStore",
> "code":400}}
>
>
> Please suggest.
> --
>
> Thanks and Regards,
> Hari
> Mobile:9790756568
Re: Unable to create collections
Posted by Jan Høydahl <ja...@cominvent.com>.
See https://solr.apache.org/guide/solr/latest/deployment-guide/enabling-ssl.html
Jan
> 13. mai 2023 kl. 07:52 skrev HariBabu kuruva <ha...@gmail.com>:
>
> Hi Jan,
>
> Thanks for your reply. This was working previously(don't remember exactly..
> Not sure when this environment was used previously). I remember no
> configuration changes have been done.
>
> May I know where to update those parameters?.
>
>
>
>
> On Fri, May 12, 2023 at 1:17 PM Jan Høydahl <ja...@cominvent.com> wrote:
>
>> Hi,
>>
>> Have you configured SSL on the Solr hosts? If so, you need to set the
>> urlScheme cluster property accordingly.
>>
>> Jan
>>
>>> 12. mai 2023 kl. 06:23 skrev HariBabu kuruva <hari2708.kuruva@gmail.com
>>> :
>>>
>>> Hi All,
>>>
>>> I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
>>> though the zookeepers and Solr services are running fine.
>>>
>>> *Cluster Details:*
>>> 2 solr Nodes: (running on different hosts)
>>> 3 Zookeepers: (running on different hosts)
>>> CPU: 4 for all nodes
>>> Ram: 60 GB for solr host1 and 30 GB for solr host2.
>>>
>>> I see below errors in Solr logs.
>>>
>>> 2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
>>> o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
>>> hostname.corp.company.com:8981_solr =>
>>> java.util.concurrent.ExecutionException:
>>> org.apache.solr.client.solrj.SolrServerException: IOException occurred
>> when
>>> talking to server at: http://hostname.corp.company.com:8981/solr
>>> at
>>> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
>>> java.util.concurrent.ExecutionException:
>>> org.apache.solr.client.solrj.SolrServerException: IOException occurred
>> when
>>> talking to server at: http://hostname.corp.company.com:8981/solr
>>>
>>> Caused by: org.apache.http.client.ClientProtocolException
>>>
>>> *Caused by: org.apache.http.ProtocolException: The server failed to
>> respond
>>> with a valid HTTP response*
>>>
>>> Note:Certs are valid.
>>>
>>> Also, I am unable to create any collections. I see below errors when i
>> try
>>> to create collections.
>>>
>>> "failure":{
>>> "hostname.corp.company.com
>> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
>>> occurred when talking to server at:
>>> http://company.corp.company.com:8981/solr",
>>> "hostname1.corp.company.com
>> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
>>> occurred when talking to server at:
>>> http://hostname1.corp.company.com:8981/solr"},
>>> "Operation create caused
>>>
>> exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
>>> Underlying core creation failed while creating collection:
>> capacityStore",
>>> "exception":{
>>> "msg":"Underlying core creation failed while creating collection:
>>> capacityStore",
>>> "rspCode":400},
>>> "error":{
>>> "metadata":[
>>> "error-class","org.apache.solr.common.SolrException",
>>> "root-error-class","org.apache.solr.common.SolrException"],
>>> "msg":"Underlying core creation failed while creating collection:
>>> capacityStore",
>>> "code":400}}
>>>
>>>
>>> Please suggest.
>>> --
>>>
>>> Thanks and Regards,
>>> Hari
>>> Mobile:9790756568
>>
>>
>
> --
>
> Thanks and Regards,
> Hari
> Mobile:9790756568
Re: Unable to create collections
Posted by Jan Høydahl <ja...@cominvent.com>.
See https://solr.apache.org/guide/solr/latest/deployment-guide/enabling-ssl.html
Jan
> 13. mai 2023 kl. 07:52 skrev HariBabu kuruva <ha...@gmail.com>:
>
> Hi Jan,
>
> Thanks for your reply. This was working previously(don't remember exactly..
> Not sure when this environment was used previously). I remember no
> configuration changes have been done.
>
> May I know where to update those parameters?.
>
>
>
>
> On Fri, May 12, 2023 at 1:17 PM Jan Høydahl <ja...@cominvent.com> wrote:
>
>> Hi,
>>
>> Have you configured SSL on the Solr hosts? If so, you need to set the
>> urlScheme cluster property accordingly.
>>
>> Jan
>>
>>> 12. mai 2023 kl. 06:23 skrev HariBabu kuruva <hari2708.kuruva@gmail.com
>>> :
>>>
>>> Hi All,
>>>
>>> I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
>>> though the zookeepers and Solr services are running fine.
>>>
>>> *Cluster Details:*
>>> 2 solr Nodes: (running on different hosts)
>>> 3 Zookeepers: (running on different hosts)
>>> CPU: 4 for all nodes
>>> Ram: 60 GB for solr host1 and 30 GB for solr host2.
>>>
>>> I see below errors in Solr logs.
>>>
>>> 2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
>>> o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
>>> hostname.corp.company.com:8981_solr =>
>>> java.util.concurrent.ExecutionException:
>>> org.apache.solr.client.solrj.SolrServerException: IOException occurred
>> when
>>> talking to server at: http://hostname.corp.company.com:8981/solr
>>> at
>>> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
>>> java.util.concurrent.ExecutionException:
>>> org.apache.solr.client.solrj.SolrServerException: IOException occurred
>> when
>>> talking to server at: http://hostname.corp.company.com:8981/solr
>>>
>>> Caused by: org.apache.http.client.ClientProtocolException
>>>
>>> *Caused by: org.apache.http.ProtocolException: The server failed to
>> respond
>>> with a valid HTTP response*
>>>
>>> Note:Certs are valid.
>>>
>>> Also, I am unable to create any collections. I see below errors when i
>> try
>>> to create collections.
>>>
>>> "failure":{
>>> "hostname.corp.company.com
>> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
>>> occurred when talking to server at:
>>> http://company.corp.company.com:8981/solr",
>>> "hostname1.corp.company.com
>> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
>>> occurred when talking to server at:
>>> http://hostname1.corp.company.com:8981/solr"},
>>> "Operation create caused
>>>
>> exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
>>> Underlying core creation failed while creating collection:
>> capacityStore",
>>> "exception":{
>>> "msg":"Underlying core creation failed while creating collection:
>>> capacityStore",
>>> "rspCode":400},
>>> "error":{
>>> "metadata":[
>>> "error-class","org.apache.solr.common.SolrException",
>>> "root-error-class","org.apache.solr.common.SolrException"],
>>> "msg":"Underlying core creation failed while creating collection:
>>> capacityStore",
>>> "code":400}}
>>>
>>>
>>> Please suggest.
>>> --
>>>
>>> Thanks and Regards,
>>> Hari
>>> Mobile:9790756568
>>
>>
>
> --
>
> Thanks and Regards,
> Hari
> Mobile:9790756568
Re: Unable to create collections
Posted by HariBabu kuruva <ha...@gmail.com>.
Hi Jan,
Thanks for your reply. This was working previously(don't remember exactly..
Not sure when this environment was used previously). I remember no
configuration changes have been done.
May I know where to update those parameters?.
On Fri, May 12, 2023 at 1:17 PM Jan Høydahl <ja...@cominvent.com> wrote:
> Hi,
>
> Have you configured SSL on the Solr hosts? If so, you need to set the
> urlScheme cluster property accordingly.
>
> Jan
>
> > 12. mai 2023 kl. 06:23 skrev HariBabu kuruva <hari2708.kuruva@gmail.com
> >:
> >
> > Hi All,
> >
> > I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
> > though the zookeepers and Solr services are running fine.
> >
> > *Cluster Details:*
> > 2 solr Nodes: (running on different hosts)
> > 3 Zookeepers: (running on different hosts)
> > CPU: 4 for all nodes
> > Ram: 60 GB for solr host1 and 30 GB for solr host2.
> >
> > I see below errors in Solr logs.
> >
> > 2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
> > o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
> > hostname.corp.company.com:8981_solr =>
> > java.util.concurrent.ExecutionException:
> > org.apache.solr.client.solrj.SolrServerException: IOException occurred
> when
> > talking to server at: http://hostname.corp.company.com:8981/solr
> > at
> > java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> > java.util.concurrent.ExecutionException:
> > org.apache.solr.client.solrj.SolrServerException: IOException occurred
> when
> > talking to server at: http://hostname.corp.company.com:8981/solr
> >
> > Caused by: org.apache.http.client.ClientProtocolException
> >
> > *Caused by: org.apache.http.ProtocolException: The server failed to
> respond
> > with a valid HTTP response*
> >
> > Note:Certs are valid.
> >
> > Also, I am unable to create any collections. I see below errors when i
> try
> > to create collections.
> >
> > "failure":{
> > "hostname.corp.company.com
> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> > occurred when talking to server at:
> > http://company.corp.company.com:8981/solr",
> > "hostname1.corp.company.com
> :8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> > occurred when talking to server at:
> > http://hostname1.corp.company.com:8981/solr"},
> > "Operation create caused
> >
> exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> > Underlying core creation failed while creating collection:
> capacityStore",
> > "exception":{
> > "msg":"Underlying core creation failed while creating collection:
> > capacityStore",
> > "rspCode":400},
> > "error":{
> > "metadata":[
> > "error-class","org.apache.solr.common.SolrException",
> > "root-error-class","org.apache.solr.common.SolrException"],
> > "msg":"Underlying core creation failed while creating collection:
> > capacityStore",
> > "code":400}}
> >
> >
> > Please suggest.
> > --
> >
> > Thanks and Regards,
> > Hari
> > Mobile:9790756568
>
>
--
Thanks and Regards,
Hari
Mobile:9790756568
Re: Unable to create collections
Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,
Have you configured SSL on the Solr hosts? If so, you need to set the urlScheme cluster property accordingly.
Jan
> 12. mai 2023 kl. 06:23 skrev HariBabu kuruva <ha...@gmail.com>:
>
> Hi All,
>
> I am unable to see any of the Solr host stats(like CPU/Mem..) in the UI,
> though the zookeepers and Solr services are running fine.
>
> *Cluster Details:*
> 2 solr Nodes: (running on different hosts)
> 3 Zookeepers: (running on different hosts)
> CPU: 4 for all nodes
> Ram: 60 GB for solr host1 and 30 GB for solr host2.
>
> I see below errors in Solr logs.
>
> 2023-05-12 04:11:43.094 WARN (qtp848097505-21) [ ]
> o.a.s.h.a.AdminHandlersProxy Exception when fetching result from node
> hostname.corp.company.com:8981_solr =>
> java.util.concurrent.ExecutionException:
> org.apache.solr.client.solrj.SolrServerException: IOException occurred when
> talking to server at: http://hostname.corp.company.com:8981/solr
> at
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> java.util.concurrent.ExecutionException:
> org.apache.solr.client.solrj.SolrServerException: IOException occurred when
> talking to server at: http://hostname.corp.company.com:8981/solr
>
> Caused by: org.apache.http.client.ClientProtocolException
>
> *Caused by: org.apache.http.ProtocolException: The server failed to respond
> with a valid HTTP response*
>
> Note:Certs are valid.
>
> Also, I am unable to create any collections. I see below errors when i try
> to create collections.
>
> "failure":{
> "hostname.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> occurred when talking to server at:
> http://company.corp.company.com:8981/solr",
> "hostname1.corp.company.com:8981_solr":"org.apache.solr.client.solrj.SolrServerException:IOException
> occurred when talking to server at:
> http://hostname1.corp.company.com:8981/solr"},
> "Operation create caused
> exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> Underlying core creation failed while creating collection: capacityStore",
> "exception":{
> "msg":"Underlying core creation failed while creating collection:
> capacityStore",
> "rspCode":400},
> "error":{
> "metadata":[
> "error-class","org.apache.solr.common.SolrException",
> "root-error-class","org.apache.solr.common.SolrException"],
> "msg":"Underlying core creation failed while creating collection:
> capacityStore",
> "code":400}}
>
>
> Please suggest.
> --
>
> Thanks and Regards,
> Hari
> Mobile:9790756568