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.
Procedure
- Log in to FusionInsight Manager.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Choose Cluster > Services > HDFS > Configurations > All Configurations.
- Search for the following parameters and change their values as required.
Table 1 Parameters Parameter
Description
Default Value
dfs.namenode.delegation.token.max-lifetime
Maximum lifetime of a token.
It is a server parameter, displayed in milliseconds. Value range: 10,000 to 10,000,000,000,000
604,800,000
dfs.namenode.delegation.token.renew-interval
Interval at which a token is renewed.
It is a server parameter, displayed in milliseconds. Value range: 10,000 to 10,000,000,000,000
86,400,000
- Save the settings. Restart the expired service or instance for the configuration to take effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot