[
https://issues.apache.org/jira/browse/HBASE-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706167#action_12706167
]
Alex Newman commented on HBASE-1367:
------------------------------------
So I tried compiling thrift 0.1 off the branch, as I had a patch
(https://issues.apache.org/jira/browse/HBASE-1286)
I wanted to update to 771587
Now I get
2009-05-05 15:13:30,192 ERROR org.apache.thrift.server.TNonblockingServer: Read
an invalid frame size of -2147418111. Are you using TFramedTransport on the
client side? in my thrift server logs
Thrift: Tue May 5 15:20:50 2009 TSocket::read() recv() <Host: **** Port:
9090>Connection reset by peer
terminate called after throwing an instance of
'apache::thrift::transport::TTransportException'
what(): ECONNRESET
Program received signal SIGABRT, Aborted.
0x0000003918e30215 in raise () from /lib64/libc.so.6
#6 0x000000000053d6e4 in apache::thrift::transport::TSocket::read (
this=0x7ccf90, buf=0xada35e0 "\2004Ú\n", len=<value optimized out>)
at src/transport/TSocket.cpp:364
#7 0x0000000000540434 in
apache::thrift::transport::TBufferedTransport::readSlow (this=0xada3580,
buf=0x7fff3ce32510 "", len=4)
at src/transport/TBufferTransports.cpp:48
#8 0x0000000000454bdb in apache::thrift::transport::TTransport::readAll (
this=0xada3580, buf=0x7fff3ce32510 "", len=4)
at
/home/dev/build/third_party/64-rhel5/thrift/include/transport/TTransport.h:103
#9 0x000000000053ab0a in apache::thrift::protocol::TBinaryProtocol::readI32 (
this=<value optimized out>, i...@0x7fff3ce32554)
at src/protocol/TBinaryProtocol.cpp:325
#10 0x000000000053b27c in
apache::thrift::protocol::TBinaryProtocol::readMessageBegin (this=0x7da7,
na...@0x7fff3ce32640, messagety...@0x6,
seq...@0xffffffffffffffff) at src/protocol/TBinaryProtocol.cpp:177
#11 0x000000000051bb24 in
apache::hadoop::hbase::thrift::HbaseClient::recv_scannerOpenWithStop
(this=0xada3a70) at src/Hbase.cpp:8889
...
Here was my patch
http://pastebin.com/f1f413fd5
> get rid of thrift exception 'NotFound'
> --------------------------------------
>
> Key: HBASE-1367
> URL: https://issues.apache.org/jira/browse/HBASE-1367
> Project: Hadoop HBase
> Issue Type: Sub-task
> Reporter: ryan rawson
> Assignee: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: hbase-1367-1.patch.gz
>
>
> as per the discussion in HBASE-794, the use of exceptions is not good, since
> some clients may disconnect.
> Return a structure like:
> { boolean: found, RowResult: result }
> where 'result' is optional if found is false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.