You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Samarth (JIRA)" <ji...@apache.org> on 2013/12/17 00:30:07 UTC

[jira] [Created] (HBASE-10181) HBaseObjectWritable.readObject catches DoNotRetryIOException and wraps it back in a regular IOException

Samarth created HBASE-10181:
-------------------------------

             Summary: 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


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)