- Is this your first time deploying Airbyte?: Yes
- OS Version / Instance: Amazon Linux 5.10
- Memory / Disk: 4GB / 30GB
- Deployment: AWS EC2
- Airbyte Version: 0.36.6-alpha
- Source name/version: None
- Destination name/version: RedShift 0.3.32
- Step: During creating destination
- Description: Remove this with the description of your problem.
Airbyte failed to setup RedShift destination with CopyDestination test failed.
I granted Airbyte RedShift user all privileges in its schema and create global temporary tables.
I tried the user account with RedShift query editor v2 and it can perform as expected.
The S3 access key has R/W permissions to the staging bucket.
Is there other permissions I have to grant to the account to load data?
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - 2022-05-09 04:20:45 ERROR i.a.i.d.j.c.CopyDestination(check):64 - Exception attempting to connect to the warehouse:
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - java.sql.SQLException: [Amazon](500310) Invalid operation: permission denied for database test;
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.messages.inbound.ErrorResponse.toErrorException(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGMessagingContext.handleErrorResponse(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGMessagingContext.handleMessage(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.jdbc.communications.InboundMessagesPipeline.getNextMessageOfClass(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGMessagingContext.doMoveToNextClass(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGMessagingContext.getErrorResponse(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGClient.handleErrorsScenario3(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.client.PGClient.handleErrors(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.dataengine.PGQueryExecutor$CallableExecuteTask.call(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at com.amazon.redshift.dataengine.PGQueryExecutor$CallableExecuteTask.call(Unknown Source) ~[redshift-jdbc42-no-awssdk-1.2.51.1078.jar:RedshiftJDBC_1.2.51.1078]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
2022-05-09 04:20:45 INFO i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$0):61 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]