nandorKollar commented on PR #5273:
URL: https://github.com/apache/hadoop/pull/5273#issuecomment-1808268461

   I think this this PR is great, however there's still one related open 
problem: the default values (2) for 
`fs.azure.oauth.token.fetch.retry.delta.backoff` is incorrect. The value of 2 
is consistent with MS recommendation 
(https://docs.microsoft.com/en-us/azure/active-directory/managed-service-identity/how-to-use-vm-token#retry-guidance),
 but it is assumed in **seconds**, but as this is used in Thread.sleep 
[here](https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/oauth2/AzureADAuthenticator.java#L326),
 it will be measured in **milliseconds**. I think we should change the default 
to 2000. @steveloughran @anmolanmol1234 do you think we can implement this 
minimal change in this PR, or we should open a separate one?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to