ahmarsuhail opened a new pull request, #4634: URL: https://github.com/apache/hadoop/pull/4634
### Description of PR Jira: https://issues.apache.org/jira/browse/HADOOP-18368 ITestCustomSigner was failing for access point names that had '-', eg: test-custom-signer. This PR updates the logic so access point name is now extracted using substring. Eg, if `bucketName = test-custom-signer-12345678` where `12345678` is the aws account id, we can get access point name by `bucketName.substring(0, bucketName.length() - (accountId.length() + 1))`, with the `+ 1` being for removing the`-` before the account id. ### How was this patch tested? Since it's only updating the `ITestCustomSigner`, I tested by running`ITestCustomSigner` with: - Access point name test-custom-signer - Access point name testcustomsigner - Access points disabled -- 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]
