From general-return-3027-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Wed Feb 23 20:26:45 2011 Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 31298 invoked from network); 23 Feb 2011 20:26:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 20:26:45 -0000 Received: (qmail 8011 invoked by uid 500); 23 Feb 2011 20:26:44 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 7954 invoked by uid 500); 23 Feb 2011 20:26:43 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 7946 invoked by uid 99); 23 Feb 2011 20:26:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 20:26:43 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 20:26:36 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PsLHr-0005CT-N5 for general@lucene.apache.org; Wed, 23 Feb 2011 12:26:15 -0800 Date: Wed, 23 Feb 2011 12:26:15 -0800 (PST) From: jo To: general@lucene.apache.org Message-ID: <1298492775688-2562725.post@n3.nabble.com> Subject: java.io.IOException: read past EOF MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I get that error when I try to upgrade a solr without re-indexing my current working version is 4.0-SNAPSHOT 1071753 upgrading to version: 4.0-SNAPSHOT 1073499 I tried using backup script and using replication master/slave -> and at the end I get the same error can't the index be move to another solr build?... if so, how can I upgrade to future builds.?? re-indexing might not be the best option for me. here is the stack error, I will appreciate any input on this, thank you java.lang.RuntimeException: java.io.IOException: read past EOF at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1029) at org.apache.solr.core.SolrCore.(SolrCore.java:538) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:652) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:404) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:288) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:237) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:85) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) Caused by: java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:216) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:119) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:94) at org.apache.lucene.store.DataInput.readString(DataInput.java:118) at org.apache.lucene.index.FieldInfos.read(FieldInfos.java:456) at org.apache.lucene.index.FieldInfos.(FieldInfos.java:152) at org.apache.lucene.index.SegmentInfo.(SegmentInfo.java:217) at org.apache.lucene.index.codecs.DefaultSegmentInfosReader.read(DefaultSegmentInfosReader.java:61) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:230) at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:88) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:646) at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:84) at org.apache.lucene.index.IndexReader.open(IndexReader.java:500) at org.apache.lucene.index.IndexReader.open(IndexReader.java:376) at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38) at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1018) -- View this message in context: http://lucene.472066.n3.nabble.com/java-io-IOException-read-past-EOF-tp2562725p2562725.html Sent from the Lucene - General mailing list archive at Nabble.com.