[
https://issues.apache.org/jira/browse/HBASE-12772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260551#comment-14260551
]
stack commented on HBASE-12772:
-------------------------------
Looks like test fails because we mod the namespace table. It has oldest edit.
Its region gets flushed because it is holding up the outstanding WALs. What is
wanted is that we flush the region that has all the edits in it, the ones added
by the test. I changed the test so rather than make the test table in a new
ns, instead, it just uses the default. This way, no edits in namespace table
and we should get the right region each time through.
Second test failed because already a minihbasecluster running -- it wasn't
being cleaned up by first test fail.
> TestPerColumnFamilyFlush failing
> --------------------------------
>
> Key: HBASE-12772
> URL: https://issues.apache.org/jira/browse/HBASE-12772
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 1.0.0
> Reporter: stack
>
> On internal rig see this failing in two places:
> {code}
> org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush.testFlushingWhenLogRolling
> Failing for the past 1 build (Since Failed#653 )
> Took 9 sec.
> Error Message
> expected:<424> but was:<205744>
> Stacktrace
> java.lang.AssertionError: expected:<424> but was:<205744>
> 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.regionserver.TestPerColumnFamilyFlush.testFlushingWhenLogRolling(TestPerColumnFamilyFlush.java:483)
> {code}
> and
> {code}
> org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush.testLogReplayWithDistributedReplay
> Failing for the past 1 build (Since Failed#653 )
> Took 25 ms.
> Error Message
> A mini-cluster is already running
> Stacktrace
> java.lang.IllegalStateException: A mini-cluster is already running
> at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:921)
> at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:812)
> at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:794)
> at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:781)
> at
> org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush.testLogReplay(TestPerColumnFamilyFlush.java:337)
> at
> org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush.testLogReplayWithDistributedReplay(TestPerColumnFamilyFlush.java:418)
> {code}
> Opening issue to keep an eye on these tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)