hadoop 2.6.0 hadoop 对Namenode image文件和Edit文件进行清理的NNStorageRetentionManager源代码分析
NNStorageRetentionManager对文件进行定期旋转删除。NNStorageRetentionManager的构造方法如下:publicNNStorageRetentionManager(Configurationconf,NNStoragestorage,
LogsPurgeablepurgeableLogs){
this(conf,storage,purgeableLogs,n