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

Huaxiang Sun commented on HBASE-24073:
--------------------------------------

For flakey in TestAsyncRegionAdminApi#testCompact, there are 3 families in the 
table, it does major compaction on one family from client and expecting 
region's compaction state to be major compaction only(only major compaction can 
happen). Compaction state of one region depends ongoing major/minor 
compactions. Normally, it is true. There are two threads (one for each 
long/short compaction). While major compaction for one family is going on, 
minor compaction for another family can also run, so will make the state be 
MAJOR_AND_MINOR.
 
The solution is to do not load data for other stores when it is testing 
singleFamily, it will avoid pollute state/store file # for the family under 
test. Will put a patch.

> [flakey test] client.TestMultiParallel fails to read hbase-site.xml
> -------------------------------------------------------------------
>
>                 Key: HBASE-24073
>                 URL: https://issues.apache.org/jira/browse/HBASE-24073
>             Project: HBase
>          Issue Type: Test
>          Components: Compaction
>    Affects Versions: 2.3.0, master, 2.4.0
>         Environment:  
>            Reporter: Huaxiang Sun
>            Assignee: Hua Xiang
>            Priority: Major
>
> {code:java}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi
> -------------------------------------------------------------------------------
> Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 268.838 s 
> <<< FAILURE! - in org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi
> org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi.testCompact[0]  Time 
> elapsed: 50.471 s  <<< FAILURE!
> java.lang.AssertionError: expected:<NONE> but was:<MAJOR_AND_MINOR>
>         at 
> org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi.compactionTest(TestAsyncRegionAdminApi.java:415)
>         at 
> org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi.testCompact(TestAsyncRegionAdminApi.java:364)
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to