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 AAA1910B0A for ; Mon, 19 Aug 2013 04:25:58 +0000 (UTC) Received: (qmail 51563 invoked by uid 500); 19 Aug 2013 04:25:56 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51295 invoked by uid 500); 19 Aug 2013 04:25:52 -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 51272 invoked by uid 99); 19 Aug 2013 04:25:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 04:25:49 +0000 Date: Mon, 19 Aug 2013 04:25:49 +0000 (UTC) From: "Jeffrey Zhong (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8960) TestDistributedLogSplitting.testLogReplayForDisablingTable fails sometimes 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-8960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Zhong updated HBASE-8960: --------------------------------- Attachment: hbase-8690-v4.patch The testWorkerAbort failed due to a race condition as it kills all region servers and in some case a log split task will be resigned as the result of killing and anther log split work could also be done around the same time. The testDisallowWritesInRecovering failed also with a race condition such as a log replay recovery could be done before we issue a put request. I increased the recovery time and print out details when it fails for future debugging. > TestDistributedLogSplitting.testLogReplayForDisablingTable fails sometimes > -------------------------------------------------------------------------- > > Key: HBASE-8960 > URL: https://issues.apache.org/jira/browse/HBASE-8960 > Project: HBase > Issue Type: Task > Components: test > Reporter: Jimmy Xiang > Assignee: Jeffrey Zhong > Priority: Minor > Fix For: 0.96.0 > > Attachments: hbase-8690-v4.patch, hbase-8960-addendum-2.patch, hbase-8960-addendum.patch, hbase-8960.patch > > > http://54.241.6.143/job/HBase-0.95-Hadoop-2/org.apache.hbase$hbase-server/634/testReport/junit/org.apache.hadoop.hbase.master/TestDistributedLogSplitting/testLogReplayForDisablingTable/ > {noformat} > java.lang.AssertionError: expected:<1000> but was:<0> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testLogReplayForDisablingTable(TestDistributedLogSplitting.java:797) > 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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > {noformat} -- 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