Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9721610F67 for ; Tue, 17 Dec 2013 07:58:14 +0000 (UTC) Received: (qmail 78558 invoked by uid 500); 17 Dec 2013 07:58:10 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 78516 invoked by uid 500); 17 Dec 2013 07:58:09 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 78505 invoked by uid 99); 17 Dec 2013 07:58:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 07:58:08 +0000 Date: Tue, 17 Dec 2013 07:58:08 +0000 (UTC) From: "Samarth (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10181) HBaseObjectWritable.readObject catches DoNotRetryIOException and wraps it back in a regular IOException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850218#comment-13850218 ] Samarth commented on HBASE-10181: --------------------------------- Filed https://issues.apache.org/jira/browse/HBASE-10185 for tracking the retry bug in write(dataoutput). > HBaseObjectWritable.readObject catches DoNotRetryIOException and wraps it back in a regular IOException > ------------------------------------------------------------------------------------------------------- > > Key: HBASE-10181 > URL: https://issues.apache.org/jira/browse/HBASE-10181 > Project: HBase > Issue Type: Bug > Components: IPC/RPC > Affects Versions: 0.94.12 > Reporter: Samarth > Fix For: 0.94.15 > > Attachments: 10181.txt > > > Exception handling inside HbaseObjectWritable needs to be reworked, IMHO. > For example: > At several places inside HbaseObjectWritable.readObject, exceptions are caught and rethrown as I/O Exception (including ClassNotFoundException!). > So, if an implementation of readFields method throws a DoNotRetryIOException, HBase still ends up retrying. > This problem exists at least in 0.94.12 version of HBase. -- This message was sent by Atlassian JIRA (v6.1.4#6159)