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] Commented: (HBASE-1367) get rid of thrift exception 'NotFound'
Date Tue, 05 May 2009 20:11: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 commented on HBASE-1367:
------------------------------------

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