hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosmin Lehene (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6943) [89-fb] Do not catch certain exceptions trying to get an RS connection
Date Thu, 08 Jan 2015 08:54:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Cosmin Lehene updated HBASE-6943:
    Labels: delete  (was: )

> [89-fb] Do not catch certain exceptions trying to get an RS connection
> ----------------------------------------------------------------------
>                 Key: HBASE-6943
>                 URL: https://issues.apache.org/jira/browse/HBASE-6943
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mikhail Bautin
>              Labels: delete
>         Attachments: D5877.1.patch, D5877.2.patch, D5877.3.patch, D5877.4.patch
> 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.

This message was sent by Atlassian JIRA

View raw message