[ 
https://issues.apache.org/jira/browse/YARN-9768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940899#comment-16940899
 ] 

Bibin Chundatt commented on YARN-9768:
--------------------------------------

[~maniraj...@gmail.com] Thank you for working on this

Major comment

{code}
215             future = renewerService.submit(new 
DelegationTokenRenewerRunnable(evt));
216             future.get(tokenRenewerThreadTimeout, TimeUnit.MILLISECONDS);
{code}

IIUC the above implementation would cause the multi threaded renewal to single 
thread since get is going to be a blocking call.

> RM Renew Delegation token thread should timeout and retry
> ---------------------------------------------------------
>
>                 Key: YARN-9768
>                 URL: https://issues.apache.org/jira/browse/YARN-9768
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: CR Hota
>            Priority: Major
>         Attachments: YARN-9768.001.patch, YARN-9768.002.patch, 
> YARN-9768.003.patch
>
>
> Delegation token renewer thread in RM (DelegationTokenRenewer.java) renews 
> HDFS tokens received to check for validity and expiration time.
> This call is made to an underlying HDFS NN or Router Node (which has exact 
> APIs as HDFS NN). If one of the nodes is bad and the renew call is stuck the 
> thread remains stuck indefinitely. The thread should ideally timeout the 
> renewToken and retry from the client's perspective.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to