hbase/hbase-server
Elliott Clark e78aeb24e0 HBASE-13331 Exceptions from DFS client can cause CatalogJanitor to delete referenced files
Summary:
CatalogJanitor#checkDaughterInFs assumes that there are no references
whenever HRegionFileSystem.openRegionFromFileSystem throws IOException.
Well Hadoop and HBase throw IOExceptions whenever someone looks in their general direction.

This patch explicitly checks if the directory exists. If it doesn't then it allows references to be
deleted. All other exceptions cause CatalogJanitor to assume there are references

Test Plan: Unit tests.

Differential Revision: https://reviews.facebook.net/D35829
2015-03-24 19:52:10 -07:00
..
src HBASE-13331 Exceptions from DFS client can cause CatalogJanitor to delete referenced files 2015-03-24 19:52:10 -07:00
pom.xml HBASE-13236 Add addt'l lifecycle-mapping executions. 2015-03-13 22:35:52 -05:00