[
https://issues.apache.org/jira/browse/HADOOP-19648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017703#comment-18017703
]
ASF GitHub Bot commented on HADOOP-19648:
-----------------------------------------
cnauroth commented on PR #7911:
URL: https://github.com/apache/hadoop/pull/7911#issuecomment-3245771396
> > Thank you again @leosanqing . I committed this to branch-3.4.
> > Hey,thank you for your merging.
>
> I'm not sure if branch-3.3 is still being maintained, but I have tested
this PR against branch-3.3 in my local environment, and it passed. If you are
still releasing new versions for 3.3, this could be merged into branch-3.3 as
well, since it was the original branch where this COS feature was first
introduced.
I'm not aware of any specific schedule for another 3.3 release, but there
are still a few patches going in there. I merged this to branch-3.3. Thanks
again, @leosanqing .
> cos use token credential will lost token field
> ----------------------------------------------
>
> Key: HADOOP-19648
> URL: https://issues.apache.org/jira/browse/HADOOP-19648
> Project: Hadoop Common
> Issue Type: Bug
> Components: cloud-storage, fs/cos
> Affects Versions: 3.3.0
> Reporter: sanqingleo
> Assignee: sanqingleo
> Priority: Critical
> Labels: pull-request-available
> Fix For: 3.5.0
>
> Attachments: image-2025-08-11-10-37-12-451.png,
> image-2025-08-11-10-42-36-375.png
>
>
> Hi,
> I've discovered a bug when accessing COSN using temporary credentials (access
> key, secret key, and session token).
> 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.
> !image-2025-08-11-10-37-12-451.png|width=1048,height=540!
> !image-2025-08-11-10-42-36-375.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]