[teiid-issues] [JBoss JIRA] (TEIID-5871) Amazon S3 translator generates wrong endpoints

Ramesh Reddy (Jira) issues at jboss.org
Fri Dec 20 11:58:59 EST 2019


     [ https://issues.redhat.com/browse/TEIID-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy reopened TEIID-5871:
---------------------------------


Reopening because I see the following error when executing from Teiid Spring Boot

{code}
Caused by: java.lang.ClassCastException: java.util.LinkedList cannot be cast to java.util.ArrayList
	at org.teiid.translator.amazon.s3.S3ProcedureExecution.getHeader(S3ProcedureExecution.java:429) ~[translator-amazon-s3-13.1.0-SNAPSHOT.jar:13.1.0-SNAPSHOT]
	at org.teiid.translator.amazon.s3.S3ProcedureExecution.next(S3ProcedureExecution.java:460) ~[translator-amazon-s3-13.1.0-SNAPSHOT.jar:13.1.0-SNAPSHOT]
	at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:475) ~[teiid-engine-13.1.0-SNAPSHOT.jar:13.1.0-SNAPSHOT]
	at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:261) ~[teiid-engine-13.1.0-SNAPSHOT.jar:13.1.0-SNAPSHOT]
	... 17 common frames omitted
{code}

> Amazon S3 translator generates wrong endpoints
> ----------------------------------------------
>
>                 Key: TEIID-5871
>                 URL: https://issues.redhat.com/browse/TEIID-5871
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>            Priority: Blocker
>             Fix For: 13.1, 13.0.2
>
>          Time Spent: 2 hours
>  Remaining Estimate: 0 minutes
>
> Amazon S3 translator currently is not working. I see two issues
> 1) The Amazon SDK jar that is being used is very old from 2016, this should be updated to latest either 1.11.695 or 2.0. I am guessing 2.0 will be more work that can be handled in a separate issue.
> 2) The default endpoints that are generated are wrong for S3, it looks like this has changed by Amazon. These need to be in the form "<bucket>.s3.amazonaws.com"



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list