Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using HDFS/ HDFS O&M Management/ Configuring the Maximum Lifetime of an HDFS Token
Updated on 2025-10-11 GMT+08:00

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

  1. Log in to FusionInsight Manager.

    For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.

  2. Choose Cluster > Services > HDFS > Configurations > All Configurations.
  3. 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

  4. Save the settings. Restart the expired service or instance for the configuration to take effect.