charlesconnell commented on code in PR #7215:
URL: https://github.com/apache/hadoop/pull/7215#discussion_r1875925407


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml:
##########
@@ -3444,6 +3444,16 @@
     </description>
   </property>
 
+  <property>
+    <name>dfs.client.lease.renewal.interval.ms</name>
+    <value>0</value>
+    <description>
+      If set between 0 and 30000 inclusive, HDFS clients will renew leases for 
files they are writing at this interval.
+      If dfs.client.lease.renewal.interval.ms is not set and 
ipc.client.rpc-timeout.ms is set between 0 and 60000,

Review Comment:
   It comes from existing behavior, yes. The lease renewal interval isn't 
allowed to be longer than half of the NameNode's timeout, which is hard-coded 
at 60 seconds.



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

Reply via email to