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

SecureBulkLoadClient squashes DoNotRetryIOExceptions from the server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 1.2.6, 1.3.2, 1.1.11
    • Client
    • None
    • Reviewed

    Description

      While writing some tests against 1.x, I noticed that what should have been a DoNotRetryIOException sent to the client from a RegionServer was getting retried until it reached the hbase client retries limit.

      Upon inspection, I found that the SecureBulkLoadClient was wrapping all Exceptions from the RPC as an IOException. I believe this is creating a case where the RPC system doesn't notice that there's a DNRIOException wrapped beneath it, thinking it's a transient error.

      This results in clients having to wait for the retry limit to be reached before they get acknowledgement that something failed.

      Attachments

        1. HBASE-17534.006.branch-1.patch
          9 kB
          Josh Elser
        2. HBASE-17534.005.branch-1.patch
          9 kB
          Josh Elser
        3. HBASE-17534.004.branch-1.patch
          9 kB
          Josh Elser
        4. HBASE-17534.003.branch-1.patch
          9 kB
          Josh Elser
        5. HBASE-17534.002.branch-1.patch
          9 kB
          Josh Elser
        6. HBASE-17534.001.branch-1.patch
          8 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: