Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

Solr Ping Request Handler Problem

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


phani.vempaty at emc

Aug 8, 2012, 9:25 AM

Post #1 of 6 (136 views)
Permalink
Solr Ping Request Handler Problem

Hello,

I've a problem with SOLR 4.0 Alpha ping request handler. If there are many
cores & if I do start all the solr instances and they are up & running
successfully, when I do a create index it fails with logs saying that one of
the instances is down. I really donno why it is happening as starting all
the solr instances passed successfully. But, if I allow couple of seconds
wait time & then I'm able to create index without any problem. When I did a
little debugging into Solr code, the response from the PingRequestHandler
seems to be empty when it fails creating an index just after successfully
starting all the solr instances.

I absolutely have no idea why this happens. Is it absolutely necessary that
I've to wait for about few seconds before I try to create an index just the
moment after successfully starting all the solr instances.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


in.abdul at gmail

Aug 8, 2012, 11:18 AM

Post #2 of 6 (132 views)
Permalink
Re: Solr Ping Request Handler Problem [In reply to]

Can you please paste you stack trace .. its easy for you to know reason.
Are you using solrcloud ?

Syed Abdul kather
send from Samsung S3
On Aug 8, 2012 9:55 PM, "vempap [via Lucene]" <
ml-node+s472066n3999880h6 [at] n3> wrote:

> Hello,
>
> I've a problem with SOLR 4.0 Alpha ping request handler. If there are
> many cores & if I do start all the solr instances and they are up & running
> successfully, when I do a create index it fails with logs saying that one
> of the instances is down. I really donno why it is happening as starting
> all the solr instances passed successfully. But, if I allow couple of
> seconds wait time & then I'm able to create index without any problem. When
> I did a little debugging into Solr code, the response from the
> PingRequestHandler seems to be empty when it fails creating an index just
> after successfully starting all the solr instances.
>
> I absolutely have no idea why this happens. Is it absolutely necessary
> that I've to wait for about few seconds before I try to create an index
> just the moment after successfully starting all the solr instances.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880.html
> To unsubscribe from Lucene, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472066&code=aW4uYWJkdWxAZ21haWwuY29tfDQ3MjA2NnwxMDczOTUyNDEw>
> .
> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




-----
THANKS AND REGARDS,
SYED ABDUL KATHER
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p3999918.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


phani.vempaty at emc

Aug 8, 2012, 11:24 AM

Post #3 of 6 (134 views)
Permalink
Re: Solr Ping Request Handler Problem [In reply to]

Hello Syed,

Thanks for your reply. Unfortunately, there is not stack trace from Solr
side & I'm not using Solr Cloud.

It is sending an empty response back when I do a ping request. So, I'm not
able to figure out why it is sending an empty response without throwing an
exception - there is no exception in solr logs.

Could you think of any cases where this might happen so that I could take a
look at it. It's not some time-out issue when I'm issuing a ping request.

Thanks.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p3999919.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


in.abdul at gmail

Aug 8, 2012, 11:31 AM

Post #4 of 6 (132 views)
Permalink
Re: Solr Ping Request Handler Problem [In reply to]

Whether solr is configured in tomcat or jetty ?
I am trying replicated same thing in my PC ..
Let me get back to you once it is done .
Syed Abdul kather
send from Samsung S3
On Aug 8, 2012 11:54 PM, "vempap [via Lucene]" <
ml-node+s472066n3999919h15 [at] n3> wrote:

> Hello Syed,
>
> Thanks for your reply. Unfortunately, there is not stack trace from Solr
> side & I'm not using Solr Cloud.
>
> It is sending an empty response back when I do a ping request. So, I'm not
> able to figure out why it is sending an empty response without throwing an
> exception - there is no exception in solr logs.
>
> Could you think of any cases where this might happen so that I could take
> a look at it. It's not some time-out issue when I'm issuing a ping request.
>
> Thanks.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p3999919.html
> To unsubscribe from Lucene, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472066&code=aW4uYWJkdWxAZ21haWwuY29tfDQ3MjA2NnwxMDczOTUyNDEw>
> .
> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




-----
THANKS AND REGARDS,
SYED ABDUL KATHER
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p3999921.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


phani.vempaty at emc

Aug 8, 2012, 12:41 PM

Post #5 of 6 (126 views)
Permalink
Re: Solr Ping Request Handler Problem [In reply to]

It is configured in Jetty.

One more problem is that it happens so some times & some times it'll be fine
which is why it is being difficult for me to reproduce the scenario.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p3999937.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


phani.vempaty at emc

Aug 15, 2012, 2:55 PM

Post #6 of 6 (108 views)
Permalink
Re: Solr Ping Request Handler Problem [In reply to]

Hello Syed,

Were you able to reproduce the case.

I've one more question from my side.

I created an index => all the schema.xml & solrconfig.xml files are
created with content (I checked that they have contents in the xml files).
But, if I poweroff the system & restart again - the contents of the files
are gone. It's like 0 bytes files.

Even, the solr.xml file which got updated when I created a new index (with a
core) has 0 bytes & all the previous entries are lost too.

I'm using Solr 4.0

Do you have any idea about the scenarios where it might happen.

Thanks.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Ping-Request-Handler-Problem-tp3999880p4001497.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.