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, 08 Nov 2010 23:54:08 GMT

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

Jonathan Gray commented on HBASE-3141:

Is the move of startServiceThreads() necessary?  I think it's fine to do it before cluster
up flag, but just checking, this should work even without that change because RS will get
exceptions and retry?

Also, looks like MasterNotRunningException is imported in HBaseServer but it's ServerNotRunningException
that is thrown.

> 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
>            Assignee: ryan rawson
>            Priority: Critical
>             Fix For: 0.90.0
>         Attachments: HBASE-3141-v1.patch, HBASE-3141.txt
> 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