Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 45429 invoked from network); 7 May 2008 15:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 15:33:28 -0000 Received: (qmail 91122 invoked by uid 500); 7 May 2008 15:33:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 91095 invoked by uid 500); 7 May 2008 15:33:22 -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 91084 invoked by uid 99); 7 May 2008 15:33:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 08:33:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of crspan@gmail.com designates 64.233.178.249 as permitted sender) Received: from [64.233.178.249] (HELO hs-out-0708.google.com) (64.233.178.249) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 15:32:36 +0000 Received: by hs-out-0708.google.com with SMTP id 4so245675hsl.5 for ; Wed, 07 May 2008 08:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=yOJWL972YVo0sq8H8tPKzEUAbGWDbHD6GcDb3F8Z+oE=; b=u7De0rvPmelsaCQQm6a4mivb6XWwM6ZmtQ+4QrjKAxzL41RJV+h+9eZhlEjp+i9WmW4avtEhlrAxh4CBscJepO6Judu1ZeW4NbgY7hvlnScsMUVp2MpKp0rf5pnn+tjkCn0TKrnhOJEeC4SVZGAa5TtEkMGdVpz8Q56ghEIuAXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Lrph80fXPZEJPMZtv9vK4l/cMIE92bzdPS7+GlWCfYcq7XavlY2xPxxeJp4T2UKxW3uCSU51v8CDU2Vc2AaXB83mQHp2gLIOPLevTbs1T7hFAUIjGnsX8ozmo/skXDIds7VaZoXtquRDJobS5wR72Vlw+vgIRk3+zXX4bmpNhX4= Received: by 10.90.73.17 with SMTP id v17mr3134090aga.45.1210174369467; Wed, 07 May 2008 08:32:49 -0700 (PDT) Received: from ?192.168.168.3? ( [72.179.149.134]) by mx.google.com with ESMTPS id q26sm5206043ele.0.2008.05.07.08.32.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 May 2008 08:32:48 -0700 (PDT) Message-ID: <4821CB9B.7040104@gmail.com> Date: Wed, 07 May 2008 10:32:43 -0500 From: crspan User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Michael McCandless CC: java-user@lucene.apache.org Subject: Re: Are those runtime errors about the jdk, or lucene's jar, or my code? References: <48209D62.2000103@gmail.com> <48212BEB.50801@gmail.com> <11EFE28B-E740-4D51-A6E5-DDFAE3B47188@mikemccandless.com> In-Reply-To: <11EFE28B-E740-4D51-A6E5-DDFAE3B47188@mikemccandless.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Exactly the case you have described. Not sure why it got corrupted after scp. IF compare the index size, exact bytes. But I also noticed that the scp process was dangling there long after, so I killed that process. Maybe that is why. Lesson learned: Still "CheckIndex", even index size matches. Thanks again, Mike. Charlie Michael McCandless wrote: > > OK, phew. Thanks for bringing closure here. > > You mean you ran CheckIndex on the original index (input to scp) and > it was fine, but CheckIndex on the copy produced by scp showed the > corruption? > > I think it's unusual for scp to corrupt the copy unless something > catastrophic happens (eg disk full, disk is bad, RAM is bad, etc.). > > Mike > > crspan wrote: >> Thanks so much, Mike. Those runtime errors were caused by one >> corrupted index, somehow corrupted during scp. It has Nothing to do >> with lucene 2.3.2. >> >> For those who come by this thread: >> Please "CheckIndex" >> >> That would saved me many hours of fruitless debugging. >> >> Cheers, >> Charlie >> >> >> Michael McCandless wrote: >>> >>> Hi, >>> >>> Could you run org.apache.lucene.index.CheckIndex on your index and >>> post the result? >>> >>> Are these exceptions easily reproduced starting from scratch (new >>> index)? >> > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org