You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2019/02/26 14:39:00 UTC

[jira] [Resolved] (HBASE-18299) TestCompactionInDeadRegionServer is flaky

     [ https://issues.apache.org/jira/browse/HBASE-18299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Somogyi resolved HBASE-18299.
-----------------------------------
    Resolution: Cannot Reproduce

Not on any of the flaky lists.

> TestCompactionInDeadRegionServer is flaky
> -----------------------------------------
>
>                 Key: HBASE-18299
>                 URL: https://issues.apache.org/jira/browse/HBASE-18299
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 1.4.0, 2.0.0
>            Reporter: Phil Yang
>            Priority: Major
>
> In this test, when master marks a RS dead and rename its WAL directory, we expect the compaction throwing an exception. However, if RS finds the WAL is not writable it will close itself and mark HRegion#areWritesEnabled false and in compaction it will just skip and doesn't throw any exception.
> See https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java#L1644
>  and  https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L1964



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)