Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10181

HBaseObjectWritable.readObject catches DoNotRetryIOException and wraps it back in a regular IOException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.12
    • Fix Version/s: 0.94.15
    • Component/s: IPC/RPC
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      Phoenix

      Description

      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.

        Attachments

        1. 10181.txt
          1 kB
          Lars Hofhansl
        2. 10181-alternate.txt
          2 kB
          Lars Hofhansl

          Issue Links

            Activity

              People

              • Assignee:
                lhofhansl Lars Hofhansl
                Reporter:
                samarthjain Samarth Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: