[ 
https://issues.apache.org/jira/browse/IGNITE-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938793#comment-15938793
 ] 

Denis Magda commented on IGNITE-4858:
-------------------------------------

Renamed and merged to the master. The fix will be available in Ignite 2.0 
release.

> 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
>            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)

Reply via email to