haiyang1987 commented on code in PR #6112:
URL: https://github.com/apache/hadoop/pull/6112#discussion_r1339892905
##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:
##########
@@ -2671,6 +2676,18 @@ private String
reconfigureDecommissionBackoffMonitorParameters(
}
}
+ private String reconfigureMinBlocksForWrite(String property, String newValue)
+ throws ReconfigurationException {
+ try {
+ int newSetting = adjustNewVal(
+ DFS_NAMENODE_BLOCKPLACEMENTPOLICY_MIN_BLOCKS_FOR_WRITE_DEFAULT,
newValue);
+ this.namesystem.getBlockManager().setMinBlocksForWrite(newSetting);
Review Comment:
Thanks Sir @ayushtkn review and suggestion.
I will update it later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]