HBase
  1. HBase
  2. HBASE-10181

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Samarth Jain created issue -
          James Taylor made changes -
          Field Original Value New Value
          Tags Phoenix
          Lars Hofhansl made changes -
          Fix Version/s 0.94.15 [ 12325559 ]
          Lars Hofhansl made changes -
          Attachment 10181.txt [ 12619049 ]
          Lars Hofhansl made changes -
          Attachment 10181-alternate.txt [ 12619138 ]
          Lars Hofhansl made changes -
          Link This issue is related to HBASE-10185 [ HBASE-10185 ]
          Lars Hofhansl made changes -
          Assignee Lars Hofhansl [ lhofhansl ]
          Lars Hofhansl made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development