[ https://issues.apache.org/jira/browse/FLINK-36389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Archit Goyal updated FLINK-36389: --------------------------------- Description: {*}Issue{*}: During the initialization of the {{DelegationTokenReceiverRepository}} in the constructor, the {{loadReceivers()}} method is invoked without checking whether delegation tokens are enabled. This leads to the following error in the TaskManager logs: {code:java} java.lang.IllegalStateException: Delegation token receiver with service name {} has multiple implementations [hadoopfs]{code} was: {*}Issue{*}: During the initialization of the {{DelegationTokenReceiverRepository}} in the constructor, the {{loadReceivers()}} method is invoked without checking whether delegation tokens are enabled. This leads to the following error in the TaskManager logs: {{}} {code:java} java.lang.IllegalStateException: Delegation token receiver with service name {} has multiple implementations [hadoopfs]{code} {{}} > Fix DelegationTokenReceiverRepository to check if Delegation Token is enabled > ----------------------------------------------------------------------------- > > Key: FLINK-36389 > URL: https://issues.apache.org/jira/browse/FLINK-36389 > Project: Flink > Issue Type: Bug > Components: Deployment / Kubernetes, Deployment / YARN > Reporter: Archit Goyal > Priority: Major > Labels: security > > {*}Issue{*}: During the initialization of the > {{DelegationTokenReceiverRepository}} in the constructor, the > {{loadReceivers()}} method is invoked without checking whether delegation > tokens are enabled. This leads to the following error in the TaskManager logs: > {code:java} > java.lang.IllegalStateException: Delegation token receiver with service name > {} has multiple implementations [hadoopfs]{code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)