You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/04/13 23:23:26 UTC

[jira] [Commented] (HBASE-15634) TestDateTieredCompactionPolicy#negativeForMajor is flaky

    [ https://issues.apache.org/jira/browse/HBASE-15634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240057#comment-15240057 ] 

Ted Yu commented on HBASE-15634:
--------------------------------

Didn't see "Skipping major compaction of " log (from shouldPerformMajorCompaction) in test output.

Added debug logs to see where the false was returned.

> TestDateTieredCompactionPolicy#negativeForMajor is flaky
> --------------------------------------------------------
>
>                 Key: HBASE-15634
>                 URL: https://issues.apache.org/jira/browse/HBASE-15634
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.0
>            Reporter: Ted Yu
>         Attachments: 15634.v1.patch
>
>
> https://builds.apache.org/job/PreCommit-HBASE-Build/1365/artifact/patchprocess/patch-unit-hbase-server.txt :
> {code}
> negativeForMajor(org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy)  Time elapsed: 0.48 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy.compactEquals(TestDateTieredCompactionPolicy.java:94)
> 	at org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy.negativeForMajor(TestDateTieredCompactionPolicy.java:301)
> {code}
> Similar test failure occurred in master JDK 8 build as well (https://builds.apache.org/job/HBase-TRUNK_matrix/839/jdk=latest1.8,label=yahoo-not-h2/testReport/org.apache.hadoop.hbase.regionserver/TestDateTieredCompactionPolicy/negativeForMajor/).
> Since TestDateTieredCompactionPolicy is a small test, its failure prevented large tests from running.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)