Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 85153 invoked from network); 5 Jul 2007 14:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 14:20:57 -0000 Received: (qmail 37623 invoked by uid 500); 5 Jul 2007 14:20:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 37320 invoked by uid 500); 5 Jul 2007 14:20:51 -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 37303 invoked by uid 99); 5 Jul 2007 14:20:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 07:20:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mailing.patrick.kimber@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0506.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 07:20:46 -0700 Received: by nz-out-0506.google.com with SMTP id i28so1325970nzi for ; Thu, 05 Jul 2007 07:20:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BjFkPitH/l9CQaawNebr9ODtwMub3RGT4qDq1C3UUp3TEwSnB0KMYIQ08hCoU3BtgLhjMofv7p+Wk/oTYsitexSJOntKx3MlBWvPa5ZuQWzyXrDiYueREl04qLk1OFwuS++QOJS8vlhIj5YBvfL/B4FZgpbJBwMr3NLBextP6nI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BfkzlAfNnW9I4hKptXELcRAOBbmrdkhwUbHzMsGioVDgFf8/ZUWi5EWZSHXSbTg9qxlUKJmLhu8pnVBw3/5rVtg8sKHjcn8HWzLzxLyuu71Efc5ufJsRpyekq+5sufeJ42mvUAQU3F/HaCnj7X+Bk+jNmkuJCpDZ3arC/SyfEL4= Received: by 10.115.60.1 with SMTP id n1mr8205494wak.1183645225114; Thu, 05 Jul 2007 07:20:25 -0700 (PDT) Received: by 10.115.55.4 with HTTP; Thu, 5 Jul 2007 07:20:25 -0700 (PDT) Message-ID: <4f9b23800707050720o1661900fle3ac06cfae6e28ad@mail.gmail.com> Date: Thu, 5 Jul 2007 15:20:25 +0100 From: "Patrick Kimber" To: java-user@lucene.apache.org Subject: Re: Lucene 2.2, NFS, Lock obtain timed out In-Reply-To: <1183544020.31233.1198452157@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1183461674.2220.1198268681@webmail.messagingengine.com> <4f9b23800707030432i1067a67auc8fc0f83abeeea0@mail.gmail.com> <1183465207.11743.1198277029@webmail.messagingengine.com> <4f9b23800707030650y6139a19fn2870bef783636f46@mail.gmail.com> <4f9b23800707030813m998f3e5u1984d913f51d13b6@mail.gmail.com> <1183476448.14138.1198311153@webmail.messagingengine.com> <4f9b23800707040028g209341f8l24ce8363723d9729@mail.gmail.com> <1183544020.31233.1198452157@webmail.messagingengine.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael Just to let you know, I am on holiday for one week so will not be able to send a progress report until I return. I have deployed the new code to a test site so I will be informed if the users notice any issues. Thanks for your help Patrick On 04/07/07, Michael McCandless wrote: > > "Patrick Kimber" wrote: > > > Yes, there are many lines in the logs saying: > > hit FileNotFoundException when loading commit "segment_X"; skipping > > this commit point > > ...so it looks like the new code is working perfectly. > > Super! > > > I am sorry to be vague... but how do I check which segments file is > > opened when a new writer is created? > > Oh, sorry, it's not exactly obvious. Here's what to look for: > > On machine #1 (the machine that added docs & then closed its writer) > you should see lines like this, which are printed every time the > writer flushes its docs: > > checkpoint: wrote segments file "segments_X" > > Find the last such line on machine #1 before it closes the writer, and > that's the "current" segments_X in the index. > > Then on machine #2 (the machine that immediately opens a new writer > after machine #1 closed its writer) you should see a line like this: > > org.apache.lucene.index.IndexFileDeleter@XXXXXXX main: init: current segments file is "segments_Y" > > which indicates which segments file was loaded by this writer. The > thing to verify is that X is always equal to Y whenever a writer > quickly moves from machine #1 to machine #2. > > > I will add a check to my test to see if all documents are added. This > > should tell us if any documents are being silently lost. > > Very good! Keep us posted, and good luck, > > Mike > > --------------------------------------------------------------------- > 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