Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 390951065F for ; Sat, 14 Feb 2015 02:31:12 +0000 (UTC) Received: (qmail 31781 invoked by uid 500); 14 Feb 2015 02:31:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 31731 invoked by uid 500); 14 Feb 2015 02:31:12 -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 31719 invoked by uid 99); 14 Feb 2015 02:31:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 02:31:12 +0000 Date: Sat, 14 Feb 2015 02:31:11 +0000 (UTC) From: "zhangduo (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13040) Possible failure of TestHMasterRPCException 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-13040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhangduo updated HBASE-13040: ----------------------------- Affects Version/s: 2.0.0 > Possible failure of TestHMasterRPCException > ------------------------------------------- > > Key: HBASE-13040 > URL: https://issues.apache.org/jira/browse/HBASE-13040 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 2.0.0 > Reporter: zhangduo > Assignee: zhangduo > Attachments: HBASE-13040.patch > > > When addressing HBASE-13011, TestHMasterRPCException failed twice in PreCommit Build. > I found that the test itself has a problem. We start a HMaster, and then we continue calling isMasterRunning and expected a ServerNotRunningYetException. > But it is possible that when we connect to HMaster, it has already finished initialization, and we just get a 'true' response instead of an Exception.(Just add a 'Thread.sleep(1000);' after 'HMaster hm = new HMaster(conf, cp);', you can get a stable failure). -- This message was sent by Atlassian JIRA (v6.3.4#6332)