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

[89-fb] Do not catch certain exceptions trying to get an RS connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      When getting a regionserver connection in 0.89-fb in HBaseClient, we catch all types of Throwable. I have observed a real case when the client looked stuck. On debugging it turned out that a NoSuchMethodError was thrown and caught, leaving the connection in an inconsistent state (initialized socket but null streams). All following attempts resulted in NPEs that were also caught, and no errors were logged. From the user's perspective the client was just stuck. The root cause was the absence of a required jar (hence the NoSuchMethodError) but it was not reported properly.

      Attachments

        1. D5877.4.patch
          1 kB
          Phabricator
        2. D5877.3.patch
          2 kB
          Phabricator
        3. D5877.2.patch
          3 kB
          Phabricator
        4. D5877.1.patch
          2 kB
          Phabricator

        Activity

          People

            Unassigned Unassigned
            mikhail Mikhail Gryzykhin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: