steveloughran opened a new pull request, #8234:
URL: https://github.com/apache/hadoop/pull/8234

   
   Hard-code a 15 minute  advance time for credential renewal, so even if a 
large number of processes simultaneously trying to renew their tokens through 
IAM requests may trigger throttling, the asynchronous refresh thread has 
minutes of backoff and retry before the existing credentials become invalid.
   
   + Add a test case to explicitly instantiate the class and ask for 
credentials doesn't care about whether credentials are returned (EC2 runs) or 
if NoAwsCredentialsException is returned -any other exception is raised as a 
failure.
   + Make test suite subclass of HadoopTestBase to avoid instantiating s3a fs.
   
   Contains HADOOP-19748: S3A: ITestAssumeRole tests failing now STS returns 
detailed
    error messages
   
   
   (This is a backport which I thought I'd already applied; will merge once 
yetus is happy)
   
   
   ### How was this patch tested?
   
   s3 london; fixes all the assume role test failures
   
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [X] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   ### AI Tooling
   
   If an AI tool was used:
   
   - [ ] The PR includes the phrase "Contains content generated by <tool>"
         where <tool> is the name of the AI tool used.
   - [ ] My use of AI contributions follows the ASF legal policy
         https://www.apache.org/legal/generative-tooling.html


-- 
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