joseluisll commented on code in PR #8638:
URL: https://github.com/apache/hadoop/pull/8638#discussion_r3671159586


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml:
##########
@@ -650,7 +650,12 @@
 <property>
   <name>dfs.block.access.token.lifetime</name>
   <value>600</value>
-  <description>The lifetime of access tokens in minutes.</description>
+  <description>The lifetime of access tokens in minutes. Must be greater than
+    zero. A non-positive value makes every block access token expire at the
+    instant it is created, which causes DataNodes to reject them and all write
+    pipelines to fail. When block access tokens are enabled, the NameNode
+    rejects a non-positive value and will neither format nor start.
+  </description>

Review Comment:
   Implemented.



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