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:
parent
e7ac644071
commit
018ae9e0d5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue