Details
Description
Currently when a namenode starts up it may call "delete" when loading edits. But metrics file_deleted is collected and reported in FSDirectory where it does not and is not able to check if namenode is in safemode. So from the monitoring UI, we see non-zero number of files deleted.
A possible fix is to have delete to return the number of files deleted and then the metrics is collected and reported at NameNode the same as other namenode metrics.
Attachments
Attachments
Issue Links
- is blocked by
-
HDFS-1327 TestNameNodeMetrics fails under windows.
- Resolved