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 6875CD8AB for ; Wed, 1 Aug 2012 03:46:40 +0000 (UTC) Received: (qmail 36298 invoked by uid 500); 1 Aug 2012 03:46:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 35757 invoked by uid 500); 1 Aug 2012 03:46:36 -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 35694 invoked by uid 99); 1 Aug 2012 03:46:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 03:46:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A6A9E142851 for ; Wed, 1 Aug 2012 03:46:34 +0000 (UTC) Date: Wed, 1 Aug 2012 03:46:34 +0000 (UTC) From: "zhou wenjian (JIRA)" To: issues@hbase.apache.org Message-ID: <938008479.124898.1343792794684.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1512125988.119915.1343709754685.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HBASE-6478) TestClassLoading.testClassLoadingFromLibDirInJar in coprocessor may appear fail due to waitTableAvailable 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-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhou wenjian updated HBASE-6478: -------------------------------- Status: Patch Available (was: Open) > TestClassLoading.testClassLoadingFromLibDirInJar in coprocessor may appear fail due to waitTableAvailable > --------------------------------------------------------------------------------------------------------- > > Key: HBASE-6478 > URL: https://issues.apache.org/jira/browse/HBASE-6478 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.94.0 > Reporter: zhou wenjian > Fix For: 0.96.0, 0.94.2 > > Attachments: HBASE-6478-trunk.patch > > > When hudson runs for HBASE-6459, it encounters a failed testcase in org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromLibDirInJar. The link is https://builds.apache.org/job/PreCommit-HBASE-Build/2455/testReport/org.apache.hadoop.hbase.coprocessor/TestClassLoading/testClassLoadingFromLibDirInJar/ > I check the log, and find that the function waitTableAvailable will only check the meta table, when rs open the region and update the metalocation in meta, it may not be added to the onlineregions in rs. > for (HRegion region: > hbase.getRegionServer(0).getOnlineRegionsLocalContext()) { > this Loop will ship, and found1 will be false altogether. > that's why the testcase failed. > So maybe we can hbave some strictly check when table is created -- 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