forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2.0 KiB
2.0 KiB
Why the Job Fails with HDFS_DELEGATION_TOKEN Expired Exception?
Question
Why is the HDFS_DELEGATION_TOKEN expired exception reported when a job fails in security mode?
Answer
HDFS_DELEGATION_TOKEN expires because the token is not updated or it is accessed after max. lifetime.
Ensure the following parameter value of max. lifetime of the token is greater than the job running time.
dfs.namenode.delegation.token.max-lifetime=604800000 (1 week by default)
Go to the All Configurations page of HDFS by referring to Modifying Cluster Service Configuration Parameters and search for this parameter in the search box.
Parent topic: Common Issues About Yarn