[ 
https://issues.apache.org/jira/browse/HDFS-17352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819219#comment-17819219
 ] 

ASF GitHub Bot commented on HDFS-17352:
---------------------------------------

tomscut commented on code in PR #6559:
URL: https://github.com/apache/hadoop/pull/6559#discussion_r1497454155


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java:
##########
@@ -188,6 +188,10 @@ public class DFSConfigKeys extends CommonConfigurationKeys 
{
   public static final long DFS_DN_CACHED_DFSUSED_CHECK_INTERVAL_DEFAULT_MS =
       600000;
 
+  public static final String 
DFS_DATANODE_DELETE_CORRUPT_REPLICA_FROM_DISK_ENABLE =

Review Comment:
   It would be handy if this could be configured dynamically.





> Add configuration to control whether DN delete this replica from disk when 
> client requests a missing block 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17352
>                 URL: https://issues.apache.org/jira/browse/HDFS-17352
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Haiyang Hu
>            Assignee: Haiyang Hu
>            Priority: Major
>              Labels: pull-request-available
>
> As discussed at 
> https://github.com/apache/hadoop/pull/6464#issuecomment-1902959898
> we should add configuration to control whether DN delete this replica from 
> disk when client requests a missing block.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to