Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5D8D702D for ; Tue, 26 Jul 2011 14:27:57 +0000 (UTC) Received: (qmail 17920 invoked by uid 500); 26 Jul 2011 14:27:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 17863 invoked by uid 500); 26 Jul 2011 14:27:54 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 17855 invoked by uid 99); 26 Jul 2011 14:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 14:27:54 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.243.6.182] (HELO mail.mysigninternational.com) (212.243.6.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 14:27:48 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.mysigninternational.com (Postfix) with ESMTP id 16BCCC216F for ; Tue, 26 Jul 2011 16:27:28 +0200 (CEST) Received: from mail.mysigninternational.com ([127.0.0.1]) by localhost (mysign-postfix1.INTERNET [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ap7vw7j+ByVB for ; Tue, 26 Jul 2011 16:27:27 +0200 (CEST) Received: from Exchange2007.mysigndomain.corp (unknown [192.168.13.8]) by mail.mysigninternational.com (Postfix) with ESMTP id 93652C2126 for ; Tue, 26 Jul 2011 16:27:27 +0200 (CEST) Received: from Exchange2007.mysigndomain.corp ([fe80::b93b:88fd:f694:bc31]) by Exchange2007.mysigndomain.corp ([fe80::b93b:88fd:f694:bc31%10]) with mapi; Tue, 26 Jul 2011 16:27:27 +0200 From: Clemens Wyss To: "java-user@lucene.apache.org" Date: Tue, 26 Jul 2011 16:27:26 +0200 Subject: AW: implicit closing of an IndexWriter Thread-Topic: implicit closing of an IndexWriter Thread-Index: AQI2T0sct7/DlkymwyzJM4sNFwfYrQJaSN3/Asm0KliUAX6gYIAAAovQ Message-ID: References: <25DD0A85-1295-4556-9832-2F167BBBD9D4@gmail.com> <007601cc4b9e$b8649fe0$292ddfa0$@thetaphi.de> In-Reply-To: <007601cc4b9e$b8649fe0$292ddfa0$@thetaphi.de> Accept-Language: de-DE, de-CH Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, de-CH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org The patch "says" + * If your application uses either {@link Thread#interrupt()} or + * {@link Future#cancel(boolean)} you should use {@link SimpleFSDirectory}= in + * favor of {@link NIOFSDirectory}. and I am using SimpleFSDirectory. What else am I missing/overseeing? > -----Urspr=FCngliche Nachricht----- > Von: Uwe Schindler [mailto:uwe@thetaphi.de] > Gesendet: Dienstag, 26. Juli 2011 16:17 > An: java-user@lucene.apache.org > Betreff: RE: implicit closing of an IndexWriter >=20 > Please read the whole issue. The issue is fixed by "adding documentation"= , > the original JVM problem itself is still there and cannot be fixed (if yo= u > interrupt threads). >=20 > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de >=20 >=20 > > -----Original Message----- > > From: Clemens Wyss [mailto:clemensdev@mysign.ch] > > Sent: Tuesday, July 26, 2011 4:13 PM > > To: java-user@lucene.apache.org > > Subject: AW: implicit closing of an IndexWriter > > > > I am using Lucene 3.3 > > > > > -----Urspr=FCngliche Nachricht----- > > > Von: Mark Miller [mailto:markrmiller@gmail.com] > > > Gesendet: Dienstag, 26. Juli 2011 16:05 > > > An: java-user@lucene.apache.org > > > Betreff: Re: implicit closing of an IndexWriter > > > > > > > > > On Jul 26, 2011, at 9:52 AM, Clemens Wyss wrote: > > > > > > > Side note: I am using threads when writing and theses threads are > > > > (by > > > design) interrupted (from time to time) > > > > > > Perhaps you are seeing this: > > https://issues.apache.org/jira/browse/LUCENE- > > > 2239 > > > > > > - Mark Miller > > > lucidimagination.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > > > For additional commands, e-mail: java-user-help@lucene.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org