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
(v6.4.14#64029)

Reply via email to