leosanqing opened a new pull request, #7911: URL: https://github.com/apache/hadoop/pull/7911
### Description of PR In the org.apache.hadoop.fs.cosn.CosNativeFileSystemStore#initCOSClient method, when the client is initialized, it only passes the access key and secret key, completely ignoring the session token. This causes all subsequent operations that rely on these temporary credentials to fail. Furthermore, this re-initialization step seems unnecessary. Instead of creating a new client with incomplete credentials, the existing credential provider (which already contains the AK, SK, and token) should be passed down directly. This is same as https://github.com/apache/hadoop/pull/7867,but there were some conflicts. so I send up a separate pull request targeting branch-3.4. ### How was this patch tested? ITests are passed on my local env. <img width="2528" height="576" alt="image" src="https://github.com/user-attachments/assets/fff41a10-f423-46ee-a8f9-5a806175c97f" /> ### For code changes: - [✔] Does the title or this PR starts with the corresponding JIRA issue id (yes)? -- 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]
