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 8F488D44E for ; Fri, 2 Nov 2012 10:41:59 +0000 (UTC) Received: (qmail 38849 invoked by uid 500); 2 Nov 2012 10:41:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 38800 invoked by uid 500); 2 Nov 2012 10:41:57 -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 38728 invoked by uid 99); 2 Nov 2012 10:41:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 10:41:54 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.48] (HELO mail-pa0-f48.google.com) (209.85.220.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 10:41:50 +0000 Received: by mail-pa0-f48.google.com with SMTP id kp12so2489563pab.35 for ; Fri, 02 Nov 2012 03:41:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=g0a4M4WDZjCotgCM2qXAYk+06Fb3LlfNE+5S7kx+C5U=; b=ihccyLTlIzJSKI8dZCTI4xaHU5kXMgf74g2Gle0YFqgo/3V0MnDMox/J8PpPUHuW9r L1F1i9X9ovreB+uMejyOxjB95ofKBxg4CMAt3M+uik7dJGT3G4Dz//MEkpooudE5sikM hYKqHDwfG19Mjq/nzllVP64+k/arZ0KIgkgMlM5SYajKsXfFhhn917844nMx6fqapVZI s0xq+ck3WQyENERrmavOFz6YySniQJ7J/Nm8gzNKUkz05LW/YAulap5pVGGZitNtZz8s SO2w75u/V/wSa3tOvPKJ4pk582hEVCwnDkgJfY8NuqWDyVCTuGtNLn5WYUU+87aLU2oa v7Ug== Received: by 10.68.244.135 with SMTP id xg7mr4794515pbc.87.1351852889281; Fri, 02 Nov 2012 03:41:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.240.104 with HTTP; Fri, 2 Nov 2012 03:41:09 -0700 (PDT) In-Reply-To: <1351823527713-4017734.post@n3.nabble.com> References: <1351654066852-4017179.post@n3.nabble.com> <1351823527713-4017734.post@n3.nabble.com> From: Michael McCandless Date: Fri, 2 Nov 2012 06:41:09 -0400 Message-ID: Subject: Re: "read past EOF" when merge To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlyLEaJSCuG9T4+svOrJBJjm5TOHfyrOOa5JAXqMKMmXmHYsKqn/Nknwck+twQTTda5T0HT X-Virus-Checked: Checked by ClamAV on apache.org Are you able to reproduce the corruption? If at any time you accidentally had two writers open on the same index, it could have created this corruption. Writing to an index over NFS ought to be OK, however, it's not well tested. You should use SimpleFSLockFactory (not the default NativeFSLockFactory). The more "typical" way people use NFS is to write to an index on a local disk, and then other machines read from that index using NFS. In any event performance is usually much worse than using local disks ... Mike McCandless http://blog.mikemccandless.com On Thu, Nov 1, 2012 at 10:32 PM, superruiye wrote: > oh ,thx,I don't know CheckIndex before...and I use to fix my error index,it > is OK... > I use NFS to share my index,and no change to the LogFactory. > How could I avoid this problem,and not only fix after it was broken > suddenly? > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/read-past-EOF-when-merge-tp4017179p4017734.html > Sent from the Lucene - Java Users mailing list archive at Nabble.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