lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo <jairo.or...@firmex.com>
Subject java.io.IOException: read past EOF
Date Wed, 23 Feb 2011 20:26:15 GMT

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.<init>(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.<init>(FieldInfos.java:152)
	at org.apache.lucene.index.SegmentInfo.<init>(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.

Mime
View raw message