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 E2FC910EAF for ; Tue, 23 Apr 2013 19:25:25 +0000 (UTC) Received: (qmail 38257 invoked by uid 500); 23 Apr 2013 19:25:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38210 invoked by uid 500); 23 Apr 2013 19:25:25 -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 38155 invoked by uid 99); 23 Apr 2013 19:25:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 19:25:25 +0000 Date: Tue, 23 Apr 2013 19:25:25 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8392) TestMetricMBeanBase#testGetAttribute is flakey under hadoop2 profile 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-8392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elliott Clark updated HBASE-8392: --------------------------------- Attachment: HBASE-8392-0.patch Patch to remove the files that are deprected in test. > TestMetricMBeanBase#testGetAttribute is flakey under hadoop2 profile > -------------------------------------------------------------------- > > Key: HBASE-8392 > URL: https://issues.apache.org/jira/browse/HBASE-8392 > Project: HBase > Issue Type: Sub-task > Components: hadoop2, metrics, test > Affects Versions: 0.98.0, 0.95.0 > Reporter: Jonathan Hsieh > Fix For: 0.95.1 > > Attachments: HBASE-8392-0.patch > > > This specific small unit tests flakes out occasionally and blocks the medium and large tests from running. > Here's an error trace: > {code} > Error Message > expected:<2.0> but was:<0.125> > Stacktrace > junit.framework.AssertionFailedError: expected:<2.0> but was:<0.125> > at junit.framework.Assert.fail(Assert.java:57) > at junit.framework.Assert.failNotEquals(Assert.java:329) > at junit.framework.Assert.assertEquals(Assert.java:120) > at junit.framework.Assert.assertEquals(Assert.java:129) > at junit.framework.TestCase.assertEquals(TestCase.java:288) > at org.apache.hadoop.hbase.metrics.TestMetricsMBeanBase.testGetAttribute(TestMetricsMBeanBase.java:93) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at org.junit.runners.Suite.runChild(Suite.java:127) > at org.junit.runners.Suite.runChild(Suite.java:26) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > {code} > [~eclark] took a quick look and will chime in on this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira