You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/07/15 21:05:49 UTC

[GitHub] [hadoop] zhihaixu2012 commented on a change in pull request #3175: HDFS-16111. Add a configuration to RoundRobinVolumeChoosingPolicy to …

zhihaixu2012 commented on a change in pull request #3175:
URL: https://github.com/apache/hadoop/pull/3175#discussion_r670804904



##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
##########
@@ -2657,6 +2657,17 @@
   </description>
 </property>
 
+<property>
+  <name>dfs.datanode.round-robin-volume-choosing-policy.additional-available-space</name>
+  <value>0</value>

Review comment:
       Yes, Good suggestion. I think the reasonably good default number I want to set is 10 GB , which is the same as the default value of dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold. since AvailableSpaceVolumeChoosingPolicy uses this default value as balanced disk maximum difference. I think this value can safeguard the disk space and also not waste much disk storage.




-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org