You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Ryan McKinley <ry...@gmail.com> on 2009/04/24 20:25:32 UTC

Re: lucene 2.9 migration issues

thanks!   I'm not sure this is related to 2.9, but I have not seen  
this before either....

2009-04-24 14:19:53,024 ERROR org.apache.solr.core.SolrCore -  
java.lang.RuntimeException: java.lang.InterruptedException: sleep  
interrupted
	at org.apache.lucene.index.SegmentInfos 
$FindSegmentsFile.run(SegmentInfos.java:620)
	at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:289)
	at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1456)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1295)
	at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java: 
159)
	at  
org 
.apache 
.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:123)
	at  
org 
.apache 
.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java: 
170)
	at  
org 
.apache 
.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:217)
	at  
org 
.apache 
.solr 
.update 
.processor 
.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
	at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:140)
	at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)
	at  
org 
.apache 
.solr 
.handler 
.ContentStreamHandlerBase 
.handleRequestBody(ContentStreamHandlerBase.java:54)
	at  
org 
.apache 
.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java: 
131)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1330)
	at  
org 
.apache 
.solr 
.client 
.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:139)
	at  
org 
.apache 
.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:259)
	at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)

Any thoughts what could cause that?  This is using the embedded solr  
server...


On Apr 24, 2009, at 12:10 PM, Shalin Shekhar Mangar wrote:

> On Fri, Apr 24, 2009 at 9:07 PM, Ryan McKinley <ry...@gmail.com>  
> wrote:
>
>> Yes, that would be great!  the changes we need are in rev 768275:
>> http://svn.apache.org/viewvc?view=rev&revision=768275
>>
>
> Done. I upgraded to r768336.
>
> -- 
> Regards,
> Shalin Shekhar Mangar.


Re: lucene 2.9 migration issues

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Fri, Apr 24, 2009 at 2:42 PM, Michael McCandless
<lu...@mikemccandless.com> wrote:
> This is LUCENE-1573 (properly responding to Thread.interrupt()), which
> is new in 2.9.
>
> Do you know what would have interrupted the thread in your context?

Hmmm, nothing in Solr proper that calls interrupt on another thread.

-Yonik
http://www.lucidimagination.com

Re: lucene 2.9 migration issues

Posted by Ryan McKinley <ry...@gmail.com>.
I found it...   it was something that I guess was just ignored before.

All fixed.

Thanks!
ryan


On Apr 24, 2009, at 2:42 PM, Michael McCandless wrote:

> This is LUCENE-1573 (properly responding to Thread.interrupt()), which
> is new in 2.9.
>
> Do you know what would have interrupted the thread in your context?
>
> Mike
>
> On Fri, Apr 24, 2009 at 2:25 PM, Ryan McKinley <ry...@gmail.com>  
> wrote:
>> thanks!   I'm not sure this is related to 2.9, but I have not seen  
>> this
>> before either....
>>
>> 2009-04-24 14:19:53,024 ERROR org.apache.solr.core.SolrCore -
>> java.lang.RuntimeException: java.lang.InterruptedException: sleep
>> interrupted
>>        at
>> org.apache.lucene.index.SegmentInfos 
>> $FindSegmentsFile.run(SegmentInfos.java:620)
>>        at  
>> org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:289)
>>        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java: 
>> 1456)
>>        at  
>> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1295)
>>        at
>> org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java: 
>> 159)
>>        at
>> org 
>> .apache 
>> .solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java: 
>> 123)
>>        at
>> org 
>> .apache 
>> .solr 
>> .update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java: 
>> 170)
>>        at
>> org 
>> .apache 
>> .solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java: 
>> 217)
>>        at
>> org 
>> .apache 
>> .solr 
>> .update 
>> .processor 
>> .RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
>>        at
>> org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:140)
>>        at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)
>>        at
>> org 
>> .apache 
>> .solr 
>> .handler 
>> .ContentStreamHandlerBase 
>> .handleRequestBody(ContentStreamHandlerBase.java:54)
>>        at
>> org 
>> .apache 
>> .solr 
>> .handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java: 
>> 131)
>>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1330)
>>        at
>> org 
>> .apache 
>> .solr 
>> .client 
>> .solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java: 
>> 139)
>>        at
>> org 
>> .apache 
>> .solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java: 
>> 259)
>>        at  
>> org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
>>
>> Any thoughts what could cause that?  This is using the embedded solr
>> server...
>>
>>
>> On Apr 24, 2009, at 12:10 PM, Shalin Shekhar Mangar wrote:
>>
>>> On Fri, Apr 24, 2009 at 9:07 PM, Ryan McKinley <ry...@gmail.com>  
>>> wrote:
>>>
>>>> Yes, that would be great!  the changes we need are in rev 768275:
>>>> http://svn.apache.org/viewvc?view=rev&revision=768275
>>>>
>>>
>>> Done. I upgraded to r768336.
>>>
>>> --
>>> Regards,
>>> Shalin Shekhar Mangar.
>>
>>


Re: lucene 2.9 migration issues

Posted by Michael McCandless <lu...@mikemccandless.com>.
This is LUCENE-1573 (properly responding to Thread.interrupt()), which
is new in 2.9.

Do you know what would have interrupted the thread in your context?

Mike

On Fri, Apr 24, 2009 at 2:25 PM, Ryan McKinley <ry...@gmail.com> wrote:
> thanks!   I'm not sure this is related to 2.9, but I have not seen this
> before either....
>
> 2009-04-24 14:19:53,024 ERROR org.apache.solr.core.SolrCore -
> java.lang.RuntimeException: java.lang.InterruptedException: sleep
> interrupted
>        at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:620)
>        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:289)
>        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1456)
>        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1295)
>        at
> org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:159)
>        at
> org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:123)
>        at
> org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:170)
>        at
> org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:217)
>        at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
>        at
> org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:140)
>        at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)
>        at
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)
>        at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1330)
>        at
> org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:139)
>        at
> org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:259)
>        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
>
> Any thoughts what could cause that?  This is using the embedded solr
> server...
>
>
> On Apr 24, 2009, at 12:10 PM, Shalin Shekhar Mangar wrote:
>
>> On Fri, Apr 24, 2009 at 9:07 PM, Ryan McKinley <ry...@gmail.com> wrote:
>>
>>> Yes, that would be great!  the changes we need are in rev 768275:
>>> http://svn.apache.org/viewvc?view=rev&revision=768275
>>>
>>
>> Done. I upgraded to r768336.
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>
>