Configuring the Maximum Lifetime of an HDFS Token
Scenario
In security mode, users can flexibly set the maximum token lifetime and token renewal interval in HDFS based on cluster requirements.
Configuration Description
Navigation path for setting parameters:
Go to the All Configurations page of HDFS and enter a parameter name in the search box by referring to Modifying Cluster Service Configuration Parameters.
Parameter |
Description |
Default Value |
---|---|---|
dfs.namenode.delegation.token.max-lifetime |
This parameter is a server parameter. It specifies the maximum lifetime of a token. Unit: milliseconds. Value range: 10,000 to 10,000,000,000,000 |
604,800,000 |
dfs.namenode.delegation.token.renew-interval |
This parameter is a server parameter. It specifies the maximum lifetime to renew a token. Unit: milliseconds. Value range: 10,000 to 10,000,000,000,000 |
86,400,000 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.