hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6523) HConnectionImplementation still does not recover from all ZK issues.
Date Wed, 08 Aug 2012 16:39:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431207#comment-13431207
] 

Lars Hofhansl commented on HBASE-6523:
--------------------------------------

The NPE in the test is caused by the fact that the recreation of the ZKWatcher fails (with
connection loss), which is reported through the passed abortable, which then resets the ZK
variables, which in turn causes an NPE in the existing invocation of ensureZKTrackers (which
has not finished, yet).

In the 0.94 model this is surprisingly hard to fix without other side-effects. (In 0.96 NKeyval
did a wholesale redesign on HConnectionImplementation, which tackles this much better).

I'll leave this closed for now, but we'll do a bit more research and I might reopen with a
patch that'll also avoid this obscure NPE).

                
> HConnectionImplementation still does not recover from all ZK issues.
> --------------------------------------------------------------------
>
>                 Key: HBASE-6523
>                 URL: https://issues.apache.org/jira/browse/HBASE-6523
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>         Attachments: 6523.txt
>
>
> During some testing here at Salesforce.com we found another scenario where an HConnectionImplementation
would never recover from a lost ZK connection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message