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

Mark Miller commented on SOLR-7339:
-----------------------------------

Interesting exception in a CollectionsAPIDistributedZkTest fail:

{noformat}
   [junit4]   2> 232756 ERROR (qtp543233699-1130) [n:127.0.0.1:43044_kqam    ] 
o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: Error trying to 
proxy request for url: http://127.0.0.1:34586/kqam/awholynewcollection_0/select
   [junit4]   2>        at 
org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:591)
   [junit4]   2>        at 
org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:441)
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:226)
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   [junit4]   2>        at 
org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:111)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   [junit4]   2>        at 
org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:45)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
   [junit4]   2>        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
   [junit4]   2>        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:437)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
   [junit4]   2>        at 
org.eclipse.jetty.server.Server.handle(Server.java:517)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
   [junit4]   2>        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
   [junit4]   2>        at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
   [junit4]   2>        at 
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
   [junit4]   2>        at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> Caused by: java.io.IOException: Response header too large
   [junit4]   2>        at 
org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:404)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:678)
   [junit4]   2>        at 
org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
   [junit4]   2>        at 
org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:509)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:668)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:722)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.commit(GzipHttpOutputInterceptor.java:201)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.gzip.GzipHttpOutputInterceptor.write(GzipHttpOutputInterceptor.java:100)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:177)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:163)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:413)
   [junit4]   2>        at 
org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1793)
   [junit4]   2>        at 
org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
   [junit4]   2>        at 
org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:582)
   [junit4]   2>        ... 28 more
   [junit4]   2> Caused by: java.nio.BufferOverflowException
   [junit4]   2>        at java.nio.Buffer.nextPutIndex(Buffer.java:521)
   [junit4]   2>        at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
   [junit4]   2>        at 
org.eclipse.jetty.http.HttpGenerator.putSanitisedValue(HttpGenerator.java:982)
   [junit4]   2>        at 
org.eclipse.jetty.http.HttpGenerator.putTo(HttpGenerator.java:998)
   [junit4]   2>        at 
org.eclipse.jetty.http.HttpGenerator.generateHeaders(HttpGenerator.java:711)
   [junit4]   2>        at 
org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:389)
   [junit4]   2>        ... 42 more
{noformat}

> Upgrade Jetty from 9.2 to 9.3
> -----------------------------
>
>                 Key: SOLR-7339
>                 URL: https://issues.apache.org/jira/browse/SOLR-7339
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Gregg Donovan
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Trunk
>
>         Attachments: SOLR-7339.patch, SOLR-7339.patch, 
> SolrExampleStreamingBinaryTest.testUpdateField-jetty92.pcapng, 
> SolrExampleStreamingBinaryTest.testUpdateField-jetty93.pcapng
>
>
> Jetty 9.3 offers support for HTTP/2. Interest in HTTP/2 or its predecessor 
> SPDY was shown in [SOLR-6699|https://issues.apache.org/jira/browse/SOLR-6699] 
> and [on the mailing list|http://markmail.org/message/jyhcmwexn65gbdsx].
> Among the HTTP/2 benefits over HTTP/1.1 relevant to Solr are:
> * multiplexing requests over a single TCP connection ("streams")
> * canceling a single request without closing the TCP connection
> * removing [head-of-line 
> blocking|https://http2.github.io/faq/#why-is-http2-multiplexed]
> * header compression
> Caveats:
> * Jetty 9.3 is at M2, not released.
> * Full Solr support for HTTP/2 would require more work than just upgrading 
> Jetty. The server configuration would need to change and a new HTTP client 
> ([Jetty's own 
> client|https://github.com/eclipse/jetty.project/tree/master/jetty-http2], 
> [Square's OkHttp|http://square.github.io/okhttp/], 
> [etc.|https://github.com/http2/http2-spec/wiki/Implementations]) would need 
> to be selected and wired up. Perhaps this is worthy of a branch?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to