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: Truncated chunk in CloudSolrStream
Date Thu, 25 May 2017 12:14:39 GMT
I've never seen this error. Is this something you just started seeing
recently?




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

On Thu, May 25, 2017 at 7:10 AM, Yago Riveiro <yago.riveiro@gmail.com>
wrote:

> I have a process that uses the CloudSolrStream to run a streaming
> expression
> and I can see this exception frequently:
>
> Caused by: org.apache.http.TruncatedChunkException: Truncated chunk (
> expected size: 32768; actual size: 1100)
>         at
> org.apache.http.impl.io.ChunkedInputStream.read(
> ChunkedInputStream.java:200)
> ~[supernova-2.4.0.jar:?]
>         at
> org.apache.http.conn.EofSensorInputStream.read(
> EofSensorInputStream.java:137)
> ~[supernova-2.4.0.jar:?]
>         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
> ~[?:1.8.0_121]
>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
> ~[?:1.8.0_121]
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
> ~[?:1.8.0_121]
>         at java.io.InputStreamReader.read(InputStreamReader.java:184)
> ~[?:1.8.0_121]
>         at org.noggit.JSONParser.fill(JSONParser.java:196)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.JSONParser.getMore(JSONParser.java:203)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.JSONParser.readStringChars2(JSONParser.java:646)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.JSONParser.readStringChars(JSONParser.java:626)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.JSONParser.getStringChars(JSONParser.java:1029)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.JSONParser.getString(JSONParser.java:1017)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.ObjectBuilder.getString(ObjectBuilder.java:68)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.ObjectBuilder.getVal(ObjectBuilder.java:51)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.ObjectBuilder.getObject(ObjectBuilder.java:128)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.ObjectBuilder.getVal(ObjectBuilder.java:57)
> ~[supernova-2.4.0.jar:?]
>         at org.noggit.ObjectBuilder.getVal(ObjectBuilder.java:37)
> ~[supernova-2.4.0.jar:?]
>         at
> org.apache.solr.client.solrj.io.stream.JSONTupleStream.
> next(JSONTupleStream.java:85)
> ~[supernova-2.4.0.jar:?]
>         at
> org.apache.solr.client.solrj.io.stream.SolrStream.read(
> SolrStream.java:207)
> ~[supernova-2.4.0.jar:?]
>
> The code snip running the stream seems like this:
>
> CloudSolrStream cstream = new CloudSolrStream(....)
> cstream.open();
>
> while (true) {
>     Tuple tuple = cstream.read();
>     ......
> }
>
> Regards,
>
>
>
>
> -----
> Best regards
>
> /Yago
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Truncated-chunk-in-CloudSolrStream-tp4337181.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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