HBASE-20935 HStore.removeCompactedFiles should log in case it is unable to delete a file (Vishal Khandelwal)
Conflicts: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
This commit is contained in:
parent
99714da30f
commit
777f3e88e2
|
@ -2554,6 +2554,11 @@ public class HStore implements Store, HeapSize, StoreConfigInformation, Propagat
|
|||
r.close(true);
|
||||
// Just close and return
|
||||
filesToRemove.add(file);
|
||||
} else {
|
||||
LOG.info("Can't archive compacted file " + file.getPath()
|
||||
+ " because of either isCompactedAway = " + file.isCompactedAway()
|
||||
+ " or file has reference, isReferencedInReads = " + file.isReferencedInReads()
|
||||
+ ", skipping for now.");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LOG.error("Exception while trying to close the compacted store file {}",
|
||||
|
|
Loading…
Reference in New Issue