hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3141) Master RPC server needs to be started before an RS can check in
Date Mon, 01 Nov 2010 23:04:26 GMT

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

Jonathan Gray commented on HBASE-3141:

@Stack, this change isn't in constructor.  the ordering change is within finishInitialization()
which is called in the run() of HMaster.  We're already handling exceptions/stopping appropriately
at this stage.

> Master RPC server needs to be started before an RS can check in
> ---------------------------------------------------------------
>                 Key: HBASE-3141
>                 URL: https://issues.apache.org/jira/browse/HBASE-3141
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.90.0
>         Attachments: HBASE-3141-v1.patch
> Starting up an RPC server is done in two steps.  In the constructor, we instantiate the
RPC server.  Then in startServiceThreads() we start() it.
> If someone RPCs in between the instantiation and the start(), it seems that bad things
can happen.  We need to make sure this can't happen and there aren't any races here.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message