You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2017/03/23 17:14:46 UTC
[jira] [Resolved] (IGNITE-4858)
TcpDiscoveryS3IpFinder.setAwsCredentials should not be be overloaded
[ https://issues.apache.org/jira/browse/IGNITE-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Magda resolved IGNITE-4858.
---------------------------------
Resolution: Fixed
> TcpDiscoveryS3IpFinder.setAwsCredentials should not be be overloaded
> --------------------------------------------------------------------
>
> Key: IGNITE-4858
> URL: https://issues.apache.org/jira/browse/IGNITE-4858
> Project: Ignite
> Issue Type: Improvement
> Reporter: Sangpil Yoon
> Assignee: Denis Magda
> Priority: Trivial
> Labels: newbie
>
> Due to this method being overloaded, the javabeans property "awsCredentials" is undefined, causing spring framework to spew error when it is given AWSCredentials.
> {code}
> Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.amazonaws.auth.BasicAWSCredentials] to required type [com.amazonaws.auth.AWSCredentialsProvider] for property 'awsCredentials': no matching editors or conversion strategy found
> at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:287)
> at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:440)
> ... 36 more
> {code}
> I suggest that the version accepting AWSCredentialsProvider be named setAwsCredentialsProvider.
> Related spring issue: https://jira.spring.io/browse/SPR-4931
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)