HBASE-20935 HStore.removeCompactedFiles should log in case it is unable to delete a file (Vishal Khandelwal)
This commit is contained in:
parent
ab3ec9477a
commit
a15c445743
@ -2785,6 +2785,11 @@ public class HStore implements Store {
|
|||||||
r.close(true);
|
r.close(true);
|
||||||
// Just close and return
|
// Just close and return
|
||||||
filesToRemove.add(file);
|
filesToRemove.add(file);
|
||||||
|
} else {
|
||||||
|
LOG.info("Can't archive compacted file " + file.getPath()
|
||||||
|
+ " because of either isCompactedAway = " + r.isCompactedAway()
|
||||||
|
+ " or file has reference, isReferencedInReads = " + r.isReferencedInReads()
|
||||||
|
+ ", skipping for now.");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error(
|
LOG.error(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user