lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Export endpoint broken in solr 6.5.1?
Date Fri, 05 May 2017 01:05:58 GMT
Ok, I suspect the changes in the config happened with this ticket:

https://issues.apache.org/jira/browse/SOLR-9721

So I think you just need to take the new ImplicitPlugins.json to get the
latest configs. Also check to make sure the /export handler is not
referenced in the solrconfig.

SOLR-9721 allows you to specify wt=javabin in the search expression, for a
20% performance improvement when shuffling.



Joel Bernstein
http://joelsolr.blogspot.com/

On Thu, May 4, 2017 at 5:00 PM, Yago Riveiro <yago.riveiro@gmail.com> wrote:

> Older build with that was upgraded from 6.3.0 to 6.5.1.
>
> The config used in 6.3.0 are the same used in 6.5.1 without changes.
>
> Should I update my configs?
>
> --
>
> /Yago Riveiro
>
> On 4 May 2017, 21:45 +0100, Joel Bernstein <joelsolr@gmail.com>, wrote:
> > Did this error come from a standard 6.5.1 build, or form a build that was
> > upgraded to 6.5.1 with older config files?
> >
> > Joel Bernstein
> > http://joelsolr.blogspot.com/
> >
> > On Thu, May 4, 2017 at 1:57 PM, Yago Riveiro <yago.riveiro@gmail.com>
> wrote:
> >
> > > I'm trying to run this streaming expression
> > >
> > > search(data,qt="/export",q="*:*",fl="id",sort="id asc")
> > >
> > > and I'm hitting this exception:
> > >
> > > 2017-05-04 17:24:05.156 ERROR (qtp1937348256-378) [c:data s:shard7
> > > r:core_node38 x:data_shard7_replica1] o.a.s.c.s.i.s.ExceptionStream
> > > java.io.IOException: java.util.concurrent.ExecutionException:
> > > java.io.IOException: --> http://solr-node-1:8983/solr/
> > > data_shard2_replica1/:
> > > An exception has occurred on the server, refer to server log for
> details.
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream.
> > > openStreams(CloudSolrStream.java:451)
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream.
> > > open(CloudSolrStream.java:308)
> > > at
> > > org.apache.solr.client.solrj.io.stream.ExceptionStream.
> > > open(ExceptionStream.java:51)
> > > at
> > > org.apache.solr.handler.StreamHandler$TimerStream.
> > > open(StreamHandler.java:490)
> > > at
> > > org.apache.solr.client.solrj.io.stream.TupleStream.
> > > writeMap(TupleStream.java:78)
> > > at
> > > org.apache.solr.response.JSONWriter.writeMap(
> JSONResponseWriter.java:547)
> > > at
> > > org.apache.solr.response.TextResponseWriter.writeVal(
> > > TextResponseWriter.java:193)
> > > at
> > > org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(
> > > JSONResponseWriter.java:209)
> > > at
> > > org.apache.solr.response.JSONWriter.writeNamedList(
> > > JSONResponseWriter.java:325)
> > > at
> > > org.apache.solr.response.JSONWriter.writeResponse(
> > > JSONResponseWriter.java:120)
> > > at
> > > org.apache.solr.response.JSONResponseWriter.write(
> > > JSONResponseWriter.java:71)
> > > at
> > > org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(
> > > QueryResponseWriterUtil.java:65)
> > > at
> > > org.apache.solr.servlet.HttpSolrCall.writeResponse(
> HttpSolrCall.java:809)
> > > at org.apache.solr.servlet.HttpSolrCall.call(
> > > HttpSolrCall.java:538)
> > > at
> > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > > SolrDispatchFilter.java:347)
> > > at
> > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > > SolrDispatchFilter.java:298)
> > > at
> > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.
> > > doFilter(ServletHandler.java:1691)
> > > at
> > > org.eclipse.jetty.servlet.ServletHandler.doHandle(
> ServletHandler.java:582)
> > > at
> > > org.eclipse.jetty.server.handler.ScopedHandler.handle(
> > > ScopedHandler.java:143)
> > > at
> > > org.eclipse.jetty.security.SecurityHandler.handle(
> > > SecurityHandler.java:548)
> > > at
> > > org.eclipse.jetty.server.session.SessionHandler.
> > > doHandle(SessionHandler.java:226)
> > > at
> > > org.eclipse.jetty.server.handler.ContextHandler.
> > > doHandle(ContextHandler.java:1180)
> > > at
> > > org.eclipse.jetty.servlet.ServletHandler.doScope(
> ServletHandler.java:512)
> > > at
> > > org.eclipse.jetty.server.session.SessionHandler.
> > > doScope(SessionHandler.java:185)
> > > at
> > > org.eclipse.jetty.server.handler.ContextHandler.
> > > doScope(ContextHandler.java:1112)
> > > at
> > > org.eclipse.jetty.server.handler.ScopedHandler.handle(
> > > ScopedHandler.java:141)
> > > at
> > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
> > > ContextHandlerCollection.java:213)
> > > at
> > > org.eclipse.jetty.server.handler.HandlerCollection.
> > > handle(HandlerCollection.java:119)
> > > at
> > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> > > HandlerWrapper.java:134)
> > > at
> > > org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(
> > > RewriteHandler.java:335)
> > > at
> > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> > > HandlerWrapper.java:134)
> > > at org.eclipse.jetty.server.Server.handle(Server.java:534)
> > > at org.eclipse.jetty.server.HttpChannel.handle(
> > > HttpChannel.java:320)
> > > at
> > > org.eclipse.jetty.server.HttpConnection.onFillable(
> > > HttpConnection.java:251)
> > > at
> > > org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(
> > > AbstractConnection.java:273)
> > > at org.eclipse.jetty.io.FillInterest.fillable(
> > > FillInterest.java:95)
> > > at
> > > org.eclipse.jetty.io.SelectChannelEndPoint$2.run(
> > > SelectChannelEndPoint.java:93)
> > > at
> > > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.
> > > executeProduceConsume(ExecuteProduceConsume.java:303)
> > > at
> > > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.
> > > produceConsume(ExecuteProduceConsume.java:148)
> > > at
> > > org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(
> > > ExecuteProduceConsume.java:136)
> > > at
> > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> > > QueuedThreadPool.java:671)
> > > at
> > > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(
> > > QueuedThreadPool.java:589)
> > > at java.lang.Thread.run(Thread.java:748)
> > > Caused by: java.util.concurrent.ExecutionException:
> java.io.IOException:
> > > --
> > > http://solr-node-1:8983/solr/data_shard2_replica1/: An exception has
> > > occurred on the server, refer to server log for details.
> > > at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> > > at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream.
> > > openStreams(CloudSolrStream.java:445)
> > > ... 42 more
> > > Caused by: java.io.IOException: --
> > > http://solr-node-1:8983/solr/data_shard2_replica1/: An exception has
> > > occurred on the server, refer to server log for details.
> > > at
> > > org.apache.solr.client.solrj.io.stream.SolrStream.read(
> > > SolrStream.java:238)
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream$
> TupleWrapper.next(
> > > CloudSolrStream.java:541)
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream$
> StreamOpener.call(
> > > CloudSolrStream.java:564)
> > > at
> > > org.apache.solr.client.solrj.io.stream.CloudSolrStream$
> StreamOpener.call(
> > > CloudSolrStream.java:551)
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > > at
> > > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.
> > > lambda$execute$0(ExecutorUtil.java:229)
> > > at
> > > java.util.concurrent.ThreadPoolExecutor.runWorker(
> > > ThreadPoolExecutor.java:1142)
> > > at
> > > java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > > ThreadPoolExecutor.java:617)
> > > ... 1 more
> > > Caused by: org.noggit.JSONParser$ParseException: JSON Parse Error:
> > > char=<,position=0 BEFORE='<' AFTER='?xml version="1.0"
> encoding="UTF-8"?
> > > <'
> > > at org.noggit.JSONParser.err(JSONParser.java:356)
> > > at org.noggit.JSONParser.handleNonDoubleQuoteString(
> > > JSONParser.java:712)
> > > at org.noggit.JSONParser.next(JSONParser.java:886)
> > > at org.noggit.JSONParser.nextEvent(JSONParser.java:930)
> > > at
> > > org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> > > expect(JSONTupleStream.java:97)
> > > at
> > > org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> > > advanceToDocs(JSONTupleStream.java:179)
> > > at
> > > org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> > > next(JSONTupleStream.java:77)
> > > at
> > > org.apache.solr.client.solrj.io.stream.SolrStream.read(
> > > SolrStream.java:207)
> > > ... 8 more
> > >
> > > The same streaming expression using the select endpoint works as
> expected
> > > ... in 6.5.1
> > >
> > > The problematic streaming expression in 6.3.0 works fine.
> > >
> > > Any idea what I'm doing wrong?
> > >
> > >
> > >
> > > -----
> > > Best regards
> > >
> > > /Yago
> > > --
> > > View this message in context: http://lucene.472066.n3.
> > > nabble.com/Export-endpoint-broken-in-solr-6-5-1-tp4333416.html
> > > Sent from the Solr - User mailing list archive at Nabble.com.
> > >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message