adoroszlai opened a new pull request #802: HDDS-3366. Ozone Client should not retry on invalid token URL: https://github.com/apache/hadoop-ozone/pull/802 ## What changes were proposed in this pull request? Skip failover attempts on invalid token (encountered by S3 Gateway), along the lines of #693. https://issues.apache.org/jira/browse/HDDS-3366 ## How was this patch tested? https://github.com/adoroszlai/hadoop-ozone/runs/573315000 Verified that no failover attempt happens, whereas previously client made 15 attempts: ``` s3g_1 ... ERROR ha.OMFailoverProxyProvider: Failed to connect to OMs: [nodeId=null,nodeAddress=om:9862]. Attempted 15 failovers. ``` ``` $ grep -c 's3g_1 .* Exception encountered while connecting to the server.*InvalidToken' old new old:85 new:5 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
