Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 74684 invoked from network); 9 Nov 2010 00:24:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 00:24:00 -0000 Received: (qmail 82407 invoked by uid 500); 9 Nov 2010 00:24:32 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 82379 invoked by uid 500); 9 Nov 2010 00:24:32 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 82371 invoked by uid 99); 9 Nov 2010 00:24:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 00:24:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 00:24:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA90OBqq000681 for ; Tue, 9 Nov 2010 00:24:11 GMT Message-ID: <14932569.90061289262250988.JavaMail.jira@thor> Date: Mon, 8 Nov 2010 19:24:10 -0500 (EST) From: "ryan rawson (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-3141) Master RPC server needs to be started before an RS can check in In-Reply-To: <31842048.12741287687134910.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ryan rawson updated HBASE-3141: ------------------------------- Attachment: HBASE-3141-2.txt here is my updated patch with unit test > 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-2.txt, 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.