adoroszlai commented on code in PR #4681:
URL: https://github.com/apache/ozone/pull/4681#discussion_r1189514511


##########
hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config:
##########
@@ -41,6 +41,12 @@ OZONE-SITE.XML_ozone.scm.client.address=scm
 OZONE-SITE.XML_hdds.block.token.enabled=true
 OZONE-SITE.XML_hdds.container.token.enabled=true
 OZONE-SITE.XML_hdds.grpc.tls.enabled=true
+
+OZONE-SITE.XML_hdds.x509.default.duration=PT40s
+OZONE-SITE.XML_hdds.x509.renew.grace.duration=PT30s
+OZONE-SITE.XML_hdds.block.token.expiry.time=15s
+OZONE-SITE.XML_ozone.manager.delegation.token.max-lifetime=15s

Review Comment:
   One option is to add an undocumented config property that disables the 
sanity check you mention.  An example of such a config property:
   
   
https://github.com/apache/ozone/blob/e8fb1744e63b0f87379f7cb0eb1cb8a98520bd95/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java#L268-L272
   
   
https://github.com/apache/ozone/blob/e8fb1744e63b0f87379f7cb0eb1cb8a98520bd95/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java#L88-L90



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