lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: problems with replication
Date Tue, 04 Jan 2011 22:25:31 GMT
Are the index files corrupted? Lucene includes a program CheckIndex
which will verify that the index data structures are not corrupted.

Lance Norskog

On Tue, Jan 4, 2011 at 7:50 AM, Roxana Angheluta <anghelutar@yahoo.com> wrote:
> Thanks for replying.
>
> I am not able to reproduce it, it does not happen at every replication.
> I just see the errors in the logs.
>
> At this point I have multiple errors in the logs and I am trying to analyze them systematically.
See other examples below, this time from the slave. I suspect they are related and have to
do with the replication. I used to have the server set-up as a repeater, now it is a simple
slave.
>
> I don't really know where to start debugging, any advice is appreciated.
>
> roxana
>
>
> Jan 4, 2011 5:06:22 AM sun.reflect.GeneratedMethodAccessor6 invoke
> WARNING: Committed before 500 null
>
> org.mortbay.jetty.EofException
>        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:767)
>        at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:562)
>        at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>        at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>        at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:619)
>        at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:573)
>        at org.apache.solr.common.util.FastOutputStream.flushBuffer(FastOutputStream.java:183)
>        at org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:89)
>        at org.apache.solr.request.BinaryResponseWriter.write(BinaryResponseWriter.java:45)
>        at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:322)
>        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>
> ---------------------------------
>
> java.lang.IllegalStateException: Committed
>        at org.mortbay.jetty.Response.resetBuffer(Response.java:972)
>        at org.mortbay.jetty.Response.sendError(Response.java:238)
>        at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:362)
>        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:272)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>        at org.mortbay.jetty.Server.handle(Server.java:285)
>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>
>
> --- On Mon, 1/3/11, Grant Ingersoll <gsingers@apache.org> wrote:
>
>> From: Grant Ingersoll <gsingers@apache.org>
>> Subject: Re: problems with replication
>> To: solr-user@lucene.apache.org
>> Date: Monday, January 3, 2011, 4:20 PM
>> Are you able to reproduce this?
>> Can you give more details on what is happening?  Does
>> this happen every time you replicate?
>>
>> On Dec 29, 2010, at 3:11 PM, Roxana Angheluta wrote:
>>
>> > Hi,
>> >
>> > What can cause the following error on the master -
>> stack trace below.
>> > The slave is stuck in the middle of replication until
>> manual intervention and responds very slow to searches.
>> >
>> > Thanks,
>> > roxana
>> >
>> > Dec 29, 2010 8:25:52 PM
>> org.apache.solr.handler.ReplicationHandler$FileStream write
>> > WARNING: Exception while writing response for params:
>> command=filecontent&checksum=true&indexversion=1291648857995&wt=filestream&file=_byb.fdt
>> > org.mortbay.jetty.EofException
>> >        at
>> org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:767)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:562)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >        at
>> org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:898)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:528)
>> >        at
>> org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:565)
>> >
>> >
>> >
>> >
>>
>> --------------------------
>> Grant Ingersoll
>> http://www.lucidimagination.com
>>
>>
>
>
>
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message