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 2022/03/17 09:41:43 UTC

[GitHub] [hadoop] Neilxzn commented on a change in pull request #4068: HDFS-16504.add `dfs.namenode.get-blocks.check.operation` to enable or disable ch…

Neilxzn commented on a change in pull request #4068:
URL: https://github.com/apache/hadoop/pull/4068#discussion_r828928528



##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
##########
@@ -4119,6 +4119,14 @@
     Mover, and StoragePolicySatisfier.
   </description>
 </property>
+<property>
+  <name>dfs.namenode.get-blocks.check.operation</name>
+  <value>true</value>
+  <description>
+    Whether enable checkOperation when call getBlocks.
+    It is enabled (true) by default.

Review comment:
       Thank you for your review.  I have  adjust this property's description and  use this `dfs.namenode.get-blocks.check.operation` property instead of `dfs.ha.allow.stale.reads`  in  NameNodeConnector.java for Balancer.




-- 
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