HBASE-8653 master seems to be deleting region tmp directory from under compaction

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1487961 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
sershe 2013-05-30 18:42:28 +00:00
parent e7ac644071
commit 018ae9e0d5
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ public class HRegionFileSystem {
throw new IOException("The specified region do not exists on disk: " + regionDir);
}
if (readOnly) {
if (!readOnly) {
// Cleanup temporary directories
regionFs.cleanupTempDir();
regionFs.cleanupSplitsDir();