[ 
https://issues.apache.org/jira/browse/SOLR-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545187#comment-13545187
 ] 

Shawn Heisey commented on SOLR-4274:
------------------------------------

Exception from Solr branch_4x:

{noformat}
ERROR - 2013-01-03 02:32:47.732; org.apache.solr.common.SolrException; 
null:org.eclipse.jetty.io.EofException
        at 
org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:914)
        at 
org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:523)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:147)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
        at 
org.apache.solr.common.util.FastOutputStream.flush(FastOutputStream.java:214)
        at 
org.apache.solr.common.util.FastOutputStream.flushBuffer(FastOutputStream.java:207)
        at 
org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:94)
        at 
org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.java:50)
        at 
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:407)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:292)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
        at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:365)
        at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
        at 
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
        at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at 
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:94)
        at sun.nio.ch.IOUtil.write(IOUtil.java:65)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450)
        at 
org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:362)
        at 
org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:341)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:336)
        at 
org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:841)
        ... 34 more
{noformat}

                
> Solr logs loud exception when a client closes the connection before the 
> response is sent
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-4274
>                 URL: https://issues.apache.org/jira/browse/SOLR-4274
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Shawn Heisey
>             Fix For: 4.2, 5.0
>
>
> If a client closes the HTTP/TCP connection before Solr has had time to 
> respond, a loud Jetty exception is thrown and logged.  If possible, I would 
> like to see that reduced to a warning message that includes the request 
> parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to