How to deal with Corpora?

135 views
Skip to first unread message

Wallace

unread,
Jun 3, 2014, 6:31:46 AM6/3/14
to stream...@googlegroups.com
Hi,

I use streamcorpus v3 to read thrift has the following errors.
The items of .sc file cannot be read completely.
I don't know why. Can you help me?
Thanks.

org.apache.thrift.transport.TTransportException
at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
at org.apache.thrift.protocol.TBinaryProtocol.readByte(TBinaryProtocol.java:264)
at org.apache.thrift.protocol.TBinaryProtocol.readFieldBegin(TBinaryProtocol.java:228)
at streamcorpus.StreamItem$StreamItemStandardScheme.read(StreamItem.java:1498)
at streamcorpus.StreamItem$StreamItemStandardScheme.read(StreamItem.java:1)
at streamcorpus.StreamItem.read(StreamItem.java:1331)
at Test.ReadThrift.main(ReadThrift.java:34)

Wallace

John R. Frank

unread,
Jun 3, 2014, 8:01:21 AM6/3/14
to stream...@googlegroups.com
> I use streamcorpus v3 to read thrift has the following errors.

Can you show the code that is generating the error? Is it one of the
examples in the streamcorpus github repo?


jrf

zhaochun ren

unread,
Aug 26, 2014, 10:49:17 AM8/26/14
to stream...@googlegroups.com
Hi,
When I used the one of the java example "ReadThrift.java" in the sreamcorpus githup repo 2 weeks ago, there is also such exception happens. Has anyone already found how to deal with it? 

Zr
Reply all
Reply to author
Forward
0 new messages