hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Newman (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HBASE-1367) get rid of thrift exception 'NotFound'
Date Tue, 05 May 2009 20:21:36 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706182#action_12706182
] 

Alex Newman edited comment on HBASE-1367 at 5/5/09 1:20 PM:
------------------------------------------------------------

I switched it over to compact and Framed and I got
09/05/05 16:09:22 WARN server.TNonblockingServer: Got an IOException in internalRead!
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at org.apache.thrift.transport.TNonblockingSocket.read(TNonblockingSocket.java:154)
        at org.apache.thrift.server.TNonblockingServer$FrameBuffer.internalRead(TNonblockingServer.java:719)
        at org.apache.thrift.server.TNonblockingServer$FrameBuffer.read(TNonblockingServer.java:505)

although that may not be related, as it doesn't happen everytime I try to do a read.
#0  0x0000003918e30215 in raise () from /lib64/libc.so.6
#1  0x0000003918e31cc0 in abort () from /lib64/libc.so.6
#2  0x000000391aebec44 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib64/libstdc++.so.6
#3  0x000000391aebcdb6 in ?? () from /usr/lib64/libstdc++.so.6
#4  0x000000391aebcde3 in std::terminate () from /usr/lib64/libstdc++.so.6
#5  0x000000391aebceca in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6  0x0000000000552391 in apache::hadoop::hbase::thrift::HbaseClient::recv_scannerOpenWithStop
(this=0xc015020) at src/Hbase.cpp:8920
#7  0x000000000055256b in apache::hadoop::hbase::thrift::HbaseClient::scannerOpenWithStop
(this=0xc015020, tableName=@0x7fffc7b9ddd0,
    startRow=@0x7fffc7b9e220, stopRow=@0x7fffc7b9e228, columns=@0x7fffc7b9dd80)
    at src/Hbase.cpp:8862


        at org.apache.thrift.server.TNonblockingServer$SelectThread.handleRead(TNonblockingServer.java:409)
        at org.apache.thrift.server.TNonblockingServer$SelectThread.select(TNonblockingServer.java:354)
        at org.apache.thrift.server.TNonblockingServer$SelectThread.run(TNonblockingServer.java:298)

We also might want to update the example code.

      was (Author: posix4e):
    I switched it over to compact and Framed and I got
09/05/05 16:09:22 WARN server.TNonblockingServer: Got an IOException in internalRead!
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at org.apache.thrift.transport.TNonblockingSocket.read(TNonblockingSocket.java:154)
        at org.apache.thrift.server.TNonblockingServer$FrameBuffer.internalRead(TNonblockingServer.java:719)
        at org.apache.thrift.server.TNonblockingServer$FrameBuffer.read(TNonblockingServer.java:505)
        at org.apache.thrift.server.TNonblockingServer$SelectThread.handleRead(TNonblockingServer.java:409)
        at org.apache.thrift.server.TNonblockingServer$SelectThread.select(TNonblockingServer.java:354)
        at org.apache.thrift.server.TNonblockingServer$SelectThread.run(TNonblockingServer.java:298)

We also might want to update the example code.
  
> 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.


Mime
View raw message