Literally? in master and current 0.98 it always says "file is not deletable"
@Override
protected boolean isFileDeletable(FileStatus fStat) {
return false;
}
This is from 0.98.6 (CDH 5.3.0)
@Override
public synchronized boolean isFileDeletable(FileStatus fStat) {
try {
return !cache.contains(fStat.getPath().getName());
} catch (IOException e) {
LOG.error("Exception while checking if:" + fStat.getPath()
+ " was valid, keeping it just in case.", e);
return false;
}
}
Any thoughts, folks?
-Vlad
