[
https://issues.apache.org/jira/browse/HADOOP-15671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626710#comment-16626710
]
Sammi Chen commented on HADOOP-15671:
-------------------------------------
[~wujinhu], thanks for the update. A few small issues,
# TestAliyunCredentials.java, use predefined constant field to replace string
"{color:#008000}fs.oss.credentials.provider{color}"
# TestAliyunCredentials.java, InvalidCredentialsException exception is handled
in two catch branches of validateCredential. Is it expected?
# AliyunOSSUtils.java, the following two lines can be merged to 1 line.
{code:java}
URI.class, Configuration.class){code}
{code:java}
.newInstance(uri, conf);
{code}
# Kindly verify all the UTs with assume roles on branch-2, and past the result
report here.
> AliyunOSS: Support Assume Roles in AliyunOSS
> --------------------------------------------
>
> Key: HADOOP-15671
> URL: https://issues.apache.org/jira/browse/HADOOP-15671
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/oss
> Affects Versions: 3.1.0, 2.10.0, 2.9.1, 3.2.0, 3.0.3
> Reporter: wujinhu
> Assignee: wujinhu
> Priority: Major
> Attachments: HADOOP-15671.001.patch, HADOOP-15671.002.patch,
> HADOOP-15671.003.patch, HADOOP-15671.004.patch, HADOOP-15671.005.patch
>
>
> We will add assume role function in Aliyun OSS.
> For details about assume role and sts token, click the link below:
> [https://www.alibabacloud.com/help/doc-detail/31935.html?spm=a2c5t.11065259.1996646101.searchclickresult.1fad155aKOUvJZ]
>
> Major Changes:
> # Stabilise the constructor of CredentialsProvider so that other developers
> can have their own implementations.
> # add assumed role functions for hadoop aliyun module
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]