added a log

This commit is contained in:
Michele Artini 2021-01-29 08:21:14 +01:00
parent 81bef1295d
commit 1fc1a3d69a
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +0,0 @@
1) Usare un client hdfs per cancellare le stores
2) sostiuire il metodo expiredVersion s deleteVersions con un metodo solo che cancelli anche su hdfs
3) Non consentire operazioni lettura e scrittura sulle store in prepareDelete

View File

@ -36,6 +36,7 @@ public class HdfsClient {
try (final FileSystem fs = FileSystem.get(conf)) {
fs.delete(new Path(path), true);
log.info("HDFS Pathe deleted: " + path);
} catch (IllegalArgumentException | IOException e) {
log.error("Eror deleting path: " + path, e);
throw new MDStoreManagerException("Eror deleting path: " + path, e);