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

HTable.get() uninteruptible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0, 0.94.9, 0.99.0, 0.96.1.1
    • 0.98.0, 0.99.0
    • Client
    • None
    • Reviewed

    Description

      I've got a stuck thread on HTable.get() that can't be interrupted, looks like its designed to be interruptible but can't be in interrupted in practice due to while loop.

      The offending code is in org.apache.hadoop.hbase.ipc.HBaseClient.call() line 981, it catches InterruptedException then goes right back to waiting due to the while loop.

      It looks like future versions of the client (.95+) are significantly different and might not have this problem... Not sure about release schedules etc. or if this version is still getting patched.

      Attachments

        1. 10337.v1.patch
          16 kB
          Nicolas Liochon
        2. 10337.v2.patch
          17 kB
          Nicolas Liochon
        3. 10337-addendum.patch
          3 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              jleech Jonathan Leech
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: