You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2017/02/28 22:50:45 UTC
[jira] [Created] (HADOOP-14135) Remove URI parameter in
AWSCredentialProvider constructors
Mingliang Liu created HADOOP-14135:
--------------------------------------
Summary: Remove URI parameter in AWSCredentialProvider constructors
Key: HADOOP-14135
URL: https://issues.apache.org/jira/browse/HADOOP-14135
Project: Hadoop Common
Issue Type: Sub-task
Reporter: Mingliang Liu
Assignee: Mingliang Liu
This was from comment in [HADOOP-13252].
It looks like the URI parameter is not needed for our AWSCredentialProvider constructors. This was useful because we relied on URI parameter for retrieving user:pass. Now in binding URIs, we have
{code}
279 S3xLoginHelper.Login creds = getAWSAccessKeys(binding, conf);
280 credentials.add(new BasicAWSCredentialsProvider(
281 creds.getUser(), creds.getPassword()));
{code}
This way, we only need configuration object (if necessary) for all AWSCredentialProvider implementations. The benefit is that, if we create AWSCredentialProvider list for DynamoDB, we don't have to pass down the associated file system URI. This might be useful to S3Guard tools.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org