[
https://issues.apache.org/jira/browse/HBASE-13012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345742#comment-14345742
]
Jonathan Hsieh commented on HBASE-13012:
----------------------------------------
I tried v7 and I've been getting unittest failures on TestMobFileCompactor.
I'll dig in a bit deeper into the v7 review to see what might becausing this.
{code}
Running org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor
Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 333.997 sec <<<
FAILURE! - in org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor
testCompactionFromAdmin(org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor)
Time elapsed: 94.948 sec <<< FAILURE!
java.lang.AssertionError: expected:<NONE> but was:<MAJOR_AND_MINOR>
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:144)
at
org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor.waitUntilCompactionFinished(TestMobFileCompactor.java:509)
at
org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor.testCompactionFromAdmin(TestMobFileCompactor.java:437)
testMajorCompactionFromAdmin(org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor)
Time elapsed: 88.318 sec <<< FAILURE!
java.lang.AssertionError: expected:<NONE> but was:<MAJOR_AND_MINOR>
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:144)
at
org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor.waitUntilCompactionFinished(TestMobFileCompactor.java:509)
at
org.apache.hadoop.hbase.mob.filecompactions.TestMobFileCompactor.testMajorCompactionFromAdmin(TestMobFileCompactor.java:484)
Results :
Failed tests:
TestMobFileCompactor.testCompactionFromAdmin:437->waitUntilCompactionFinished:509
expected:<NONE> but was:<MAJOR_AND_MINOR>
TestMobFileCompactor.testMajorCompactionFromAdmin:484->waitUntilCompactionFinished:509
expected:<NONE> but was:<MAJOR_AND_MINOR>
{code}
> Add a shell to trigger the mob file compactor by commands
> ---------------------------------------------------------
>
> Key: HBASE-13012
> URL: https://issues.apache.org/jira/browse/HBASE-13012
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver, Scanners
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
> Fix For: hbase-11339
>
> Attachments: HBASE-13012-V5.diff, HBASE-13012-V6.diff,
> HBASE-13012-V7.diff, hbase-13012-V1.patch, hbase-13012-V2.diff,
> hbase-13012-V3.diff, hbase-13012-V4.diff
>
>
> Currently the MobFileCompactor is run by HMaster periodically, we need to add
> a shell to trigger the compactor by commands.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)