Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 36881 invoked from network); 5 May 2009 20:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 20:12:01 -0000 Received: (qmail 6176 invoked by uid 500); 5 May 2009 20:11:59 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 6139 invoked by uid 500); 5 May 2009 20:11:59 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 5928 invoked by uid 99); 5 May 2009 20:11:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 20:11:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 20:11:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B2B3234C004 for ; Tue, 5 May 2009 13:11:36 -0700 (PDT) Message-ID: <371934383.1241554296437.JavaMail.jira@brutus> Date: Tue, 5 May 2009 13:11:36 -0700 (PDT) From: "Alex Newman (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1367) get rid of thrift exception 'NotFound' In-Reply-To: <1271764895.1241334870309.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.