hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18299) TestCompactionInDeadRegionServer is flaky
Date Fri, 30 Jun 2017 07:05:00 GMT
Phil Yang created HBASE-18299:

             Summary: TestCompactionInDeadRegionServer is flaky
                 Key: HBASE-18299
                 URL: https://issues.apache.org/jira/browse/HBASE-18299
             Project: HBase
          Issue Type: Test
    Affects Versions: 2.0.0, 1.4.0
            Reporter: Phil Yang

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

View raw message