[ https://issues.apache.org/jira/browse/HDFS-8193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505386#comment-14505386 ]
Zhe Zhang commented on HDFS-8193: --------------------------------- bq. If possible, would you please see if there is a way to make the delay visible through metrics and the web UI? That's a great point. I believe admins will want to monitor both the delay and number of pending deletions. Will either add in this JIRA or a follow-on. bq. Perhaps you could even just populate the same fields that were added in HDFS-5986 and HDFS-6385. Seems to me these metrics differ for each DN. Maybe we should add them to the DN web UI / metrics? We could sum up the number of pending-deletion replicas and show on NN. But the per-DN delays are hard to summarize. > Add the ability to delay replica deletion for a period of time > -------------------------------------------------------------- > > Key: HDFS-8193 > URL: https://issues.apache.org/jira/browse/HDFS-8193 > Project: Hadoop HDFS > Issue Type: New Feature > Components: namenode > Affects Versions: 2.7.0 > Reporter: Aaron T. Myers > Assignee: Zhe Zhang > > When doing maintenance on an HDFS cluster, users may be concerned about the > possibility of administrative mistakes or software bugs deleting replicas of > blocks that cannot easily be restored. It would be handy if HDFS could be > made to optionally not delete any replicas for a configurable period of time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)