lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Error with Streaming Expressions - shortestPath
Date Thu, 16 Mar 2017 02:53:37 GMT
This issue is caused by the same issue as the other thread, in which the
solrconfig.xml was carried forward from the previous version, and is not
updated correctly to reflect based on the latest Solr 6.4.2.

Regards,
Edwin

On 14 March 2017 at 23:09, Joel Bernstein <joelsolr@gmail.com> wrote:

> Ok. I updated the other thread with a URL to run based on what I've seeing
> in the logs. Try running that URL and let's see what comes back.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Tue, Mar 14, 2017 at 10:26 AM, Zheng Lin Edwin Yeo <
> edwinyeozl@gmail.com>
> wrote:
>
> > Hi Joel,
> >
> > This is a standard Solr 6.4.1 install. I got the same error even after I
> > upgrade it to Solr 6.4.2.
> >
> > Regards,
> > Edwin
> >
> >
> > On 14 March 2017 at 21:30, Joel Bernstein <joelsolr@gmail.com> wrote:
> >
> > > Looks like there might be something strange with your configuration.
> Did
> > > you upgrade an existing install or is this a standard Solr 6.4.1
> install?
> > >
> > > Joel Bernstein
> > > http://joelsolr.blogspot.com/
> > >
> > > On Tue, Mar 14, 2017 at 6:22 AM, Zheng Lin Edwin Yeo <
> > edwinyeozl@gmail.com
> > > >
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I tired to run the following Streaming query with the shortestPath
> > Stream
> > > > Source.
> > > >
> > > > http://localhost:8983/solr/email/stream?expr=shortestPath(email,
> > > >   from="edwin@mail.com",
> > > >     to="admin@mail.com",
> > > >   edge="from_address=to_address",
> > > >   threads="6",
> > > >   partitionSize="300",
> > > >   maxDepth="4")&indent=true
> > > >
> > > > I get the following error in the output:
> > > >
> > > > {
> > > >   "result-set":{
> > > >     "docs":[{
> > > >         "EXCEPTION":"java.util.concurrent.ExecutionException:
> > > > java.lang.RuntimeException: java.io.IOException:
> > > > java.util.concurrent.ExecutionException: java.io.IOException: -->
> > > > http://localhost:8983/solr/email/: An exception has occurred on the
> > > > server,
> > > > refer to server log for details.",
> > > >         "EOF":true,
> > > >         "RESPONSE_TIME":112}]}}
> > > >
> > > >
> > > > Here is the logs from the error log:
> > > >
> > > > java.lang.RuntimeException: java.util.concurrent.ExecutionException:
> > > > java.lang.RuntimeException: java.io.IOException:
> > > > java.util.concurrent.ExecutionException: java.io.IOException: -->
> > > > http://localhost:8983/solr/email/: An exception has occurred on the
> > > > server,
> > > > refer to server log for details.
> > > > at
> > > > org.apache.solr.client.solrj.io.graph.ShortestPathStream.
> > > > open(ShortestPathStream.java:385)
> > > > at
> > > > org.apache.solr.client.solrj.io.stream.ExceptionStream.
> > > > open(ExceptionStream.java:51)
> > > > at
> > > > org.apache.solr.handler.StreamHandler$TimerStream.
> > > > open(StreamHandler.java:457)
> > > > at
> > > > org.apache.solr.client.solrj.io.stream.TupleStream.
> > > > writeMap(TupleStream.java:63)
> > > > 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:732)
> > > > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:473)
> > > > at
> > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > > > SolrDispatchFilter.java:345)
> > > > at
> > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> > > > SolrDispatchFilter.java:296)
> > > > 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.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:745)
> > > > Caused by: java.util.concurrent.ExecutionException:
> > > > java.lang.RuntimeException: java.io.IOException:
> > > > java.util.concurrent.ExecutionException: java.io.IOException: -->
> > > > http://localhost:8983/solr/email/: 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.graph.ShortestPathStream.
> > > > open(ShortestPathStream.java:357)
> > > > ... 39 more
> > > > Caused by: java.lang.RuntimeException: java.io.IOException:
> > > > java.util.concurrent.ExecutionException: java.io.IOException: -->
> > > > http://localhost:8983/solr/email/: An exception has occurred on the
> > > > server,
> > > > refer to server log for details.
> > > > at
> > > > org.apache.solr.client.solrj.io.graph.ShortestPathStream$
> > > JoinRunner.call(
> > > > ShortestPathStream.java:481)
> > > > at
> > > > org.apache.solr.client.solrj.io.graph.ShortestPathStream$
> > > JoinRunner.call(
> > > > ShortestPathStream.java:437)
> > > > 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: java.io.IOException: java.util.concurrent.
> > ExecutionException:
> > > > java.io.IOException: --> http://localhost:8983/solr/email/: 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.PushBackStream.open(
> > > > PushBackStream.java:70)
> > > > at
> > > > org.apache.solr.client.solrj.io.stream.ReducerStream.open(
> > > > ReducerStream.java:199)
> > > > at
> > > > org.apache.solr.client.solrj.io.stream.UniqueStream.open(
> > > > UniqueStream.java:150)
> > > > at
> > > > org.apache.solr.client.solrj.io.graph.ShortestPathStream$
> > > JoinRunner.call(
> > > > ShortestPathStream.java:468)
> > > > ... 6 more
> > > > Caused by: java.util.concurrent.ExecutionException:
> > java.io.IOException:
> > > > --> http://localhost:8983/solr/email/: 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)
> > > > ... 11 more
> > > > Caused by: java.io.IOException: --> http://localhost:8983/solr/
> email/:
> > > 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)
> > > > ... 5 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
> > > >
> > > >
> > > > All the fields are single valued fields, and I am using Solr 6.4.1 at
> > the
> > > > moment.
> > > >
> > > >
> > > > Regards,
> > > > Edwin
> > > >
> > >
> >
>

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