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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.12
    • 0.94.15
    • IPC/RPC
    • None
    • Reviewed
    • 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-alternate.txt
          2 kB
          Lars Hofhansl
        2. 10181.txt
          1 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              samarthjain Samarth Jain
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: