Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 43035 invoked from network); 28 Aug 2006 04:00:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 04:00:51 -0000 Received: (qmail 70323 invoked by uid 500); 28 Aug 2006 04:00:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 69917 invoked by uid 500); 28 Aug 2006 04:00:45 -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 69906 invoked by uid 99); 28 Aug 2006 04:00:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 21:00:45 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jason.polites@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Aug 2006 21:00:44 -0700 Received: by wx-out-0506.google.com with SMTP id s15so1509003wxc for ; Sun, 27 Aug 2006 21:00:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AH28kX0diDtLKMK4Kgjp6vcP4MxzI0rxxaDlMXL6ivbr3rWuM9jwxoYLqQlcaBscQFyNa8dzDIic+JTTH4Xh9vq1nsGyWbBnoaWfH45bxnFhZ6DujZcRYnzTQ4UQH8TOmebLt4M9x2Qx5u4Bf5DFMksPOLsLlbKg0rE7QBYtnB8= Received: by 10.70.70.7 with SMTP id s7mr8535849wxa; Sun, 27 Aug 2006 21:00:21 -0700 (PDT) Received: by 10.70.109.14 with HTTP; Sun, 27 Aug 2006 21:00:21 -0700 (PDT) Message-ID: Date: Mon, 28 Aug 2006 14:00:21 +1000 From: "Jason Polites" To: java-user@lucene.apache.org Subject: Re: java.io.IOException: Access is denied on java.io.WinNTFileSystem.createFileExclusively In-Reply-To: <44F2048D.6060208@mikemccandless.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_131997_6509485.1156737621788" References: <44F2048D.6060208@mikemccandless.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_131997_6509485.1156737621788 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Wow. That's awesome. I had just assumed (foolishly) that cross-JVM access would be problematic. Maybe I should read the manual ;) Cross machine access could be solved with some RMI magic.. but performance/scalability may be an issue. On 8/28/06, Michael McCandless wrote: > > Doron Cohen wrote: > > "Jason Polites" wrote on 27/08/2006 09:36:07: > > > >> I would have thought that simultaneous cross-JVM access to an index was > >> outside of scope of the core Lucene API (although it would be great), > but > >> maybe the file system basis allows for this (?). > > > > Lucene does protect you from mis-accessing its indexes from separate > jvms > > or even, to a certain extent, separate machines. > > I would strengthen this statement: it is within scope of Lucene to allow > cross-JVM access to the same underlying index. Lucene has file-based > locks for precisely this reason. Lucene in Action (the book) has a > great discussion about concurrency. > > It is also within scope for cross-JVM access when the JVMs are running > on different machines, however, there are known problems (related to > locking) when the index resides on an NFS mounted filesystems (and > possibly other remote-mounted filesystems). We are trying to address > these known issues (see java-dev for the gory details) but it's not > clear when these fixes will become available. > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_131997_6509485.1156737621788--