Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Justin
java-user@lucene.apache.org Sent: Thu, April 8, 2010 4:53:08 PM Subject: Re: ClosedChannelException from IndexWriter.getReader() Argh! one more running into this issue. It still bugs me that NIOFSDirectory struggles so badly if interrupt is used. simon On Thu, Apr 8, 2010 at 11:19 PM, Justin wrote: &g

Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Simon Willnauer
t; > - Original Message > From: Michael McCandless > To: java-user@lucene.apache.org > Sent: Thu, April 8, 2010 3:50:41 PM > Subject: Re: ClosedChannelException from IndexWriter.getReader() > > OK, phew :) > > Yea warming in a separate thread is common... but wh

Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Justin
given. wait/notify should accomplish the same without interrupting NIOFSDirectory. - Original Message From: Michael McCandless To: java-user@lucene.apache.org Sent: Thu, April 8, 2010 3:50:41 PM Subject: Re: ClosedChannelException from IndexWriter.getReader() OK, phew :) Yea warming

Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Michael McCandless
Sent: Thu, April 8, 2010 2:41:07 PM > Subject: Re: ClosedChannelException from IndexWriter.getReader() > > Are you using Future.cancel or directly using Thread.interrupt?  If so > it could be this nasty issue: > >    https://issues.apache.org/jira/browse/LUCENE-2239 > > Try

Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Justin
From: Michael McCandless To: java-user@lucene.apache.org Sent: Thu, April 8, 2010 2:41:07 PM Subject: Re: ClosedChannelException from IndexWriter.getReader() Are you using Future.cancel or directly using Thread.interrupt? If so it could be this nasty issue: https://issues.apache.org/jira

Re: ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Michael McCandless
, Justin wrote: > I'm getting a ClosedChannelException from IndexWriter.getReader().  I don't > think the writer has been closed and, if it were, I would expect an > AlreadyClosedException as described in the API documentation.  Does anyone > have an idea what might be w

ClosedChannelException from IndexWriter.getReader()

2010-04-08 Thread Justin
I'm getting a ClosedChannelException from IndexWriter.getReader(). I don't think the writer has been closed and, if it were, I would expect an AlreadyClosedException as described in the API documentation. Does anyone have an idea what might be wrong? The disk is not full and the p