Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe to Redshift Sync failing with error (Airbyte: 0.34.4-alpha Stipe: 0.1.25 Redshift: 0.3.23) #9038

Closed
Tracked by #11287
nthbooth-feedr opened this issue Dec 22, 2021 · 4 comments

Comments

@nthbooth-feedr
Copy link

Environment

  • Airbyte version: 0.34.4-alpha
  • OS Version / Instance: AWS EC2 T3a XL $ uname -a
    Linux eu-west-1.compute.internal 4.14.252-195.483.amzn2.x86_64 checkin catalogs #1 SMP Mon Nov 1 20:58:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Deployment: Docker
  • Source Connector and version:Stripe 0.1.25
  • Destination Connector and version: Redshift 0.3.23
  • Severity: High
  • Step where error happened: Sync job

Current Behavior

Sync fails with error seems to be in the redshift destination:
2021-12-21 18:30:30 �[43mdestination�[0m > 2021-12-21 18:30:30 �[32mINFO�[m i.a.i.d.r.RedshiftDestination(main):79 - {} - completed destination: class io.airbyte.integrations.destination.redshift.RedshiftDestination
2021-12-21 18:30:30 �[1;31mERROR�[m i.a.w.DefaultReplicationWorker(run):141 - Sync worker failed.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Source process exited with non-zero exit code 1
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at io.airbyte.workers.DefaultReplicationWorker.run(DefaultReplicationWorker.java:134) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at io.airbyte.workers.DefaultReplicationWorker.run(DefaultReplicationWorker.java:49) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:174) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Suppressed: io.airbyte.workers.WorkerException: Source process exit with code 1. This warning is normal if the job was cancelled.
at io.airbyte.workers.protocols.airbyte.DefaultAirbyteSource.close(DefaultAirbyteSource.java:136) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at io.airbyte.workers.DefaultReplicationWorker.run(DefaultReplicationWorker.java:118) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at io.airbyte.workers.DefaultReplicationWorker.run(DefaultReplicationWorker.java:49) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:174) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Source process exited with non-zero exit code 1
at io.airbyte.workers.DefaultReplicationWorker.lambda$getReplicationRunnable$2(DefaultReplicationWorker.java:230) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
... 1 more
Caused by: java.lang.RuntimeException: Source process exited with non-zero exit code 1
at io.airbyte.workers.DefaultReplicationWorker.lambda$getReplicationRunnable$2(DefaultReplicationWorker.java:222) ~[io.airbyte-airbyte-workers-0.34.4-alpha.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
... 1 more
2021-12-21 18:30:30 �[32mINFO�[m i.a.w.DefaultReplicationWorker(run):165 - sync summary: io.airbyte.config.ReplicationAttemptSummary@708683f7[status=failed,recordsSynced=88359,bytesSynced=127797687,startTime=1640106688532,endTime=1640111430546]

Expected Behavior

Sync works!

Logs

logs-208-1.txt
logs-208-2.txt
logs-208-0.txt

@nthbooth-feedr nthbooth-feedr added needs-triage type/bug Something isn't working labels Dec 22, 2021
@nthbooth-feedr nthbooth-feedr changed the title Stripe to Redshift Sync failing with error Airbyte: 0.34.4-alpha Stipe: 0.1.25 Redshift: 0.3.23 Stripe to Redshift Sync failing with error (Airbyte: 0.34.4-alpha Stipe: 0.1.25 Redshift: 0.3.23) Dec 22, 2021
@sherifnada sherifnada added area/connectors Connector related issues and removed needs-triage labels Dec 22, 2021
@bazarnov
Copy link
Collaborator

bazarnov commented Mar 9, 2022

@nthbooth-feedr
Is there any reason you're using not the latest version of source-stripe? (you're using Source Connector and version: Stripe 0.1.25)
Could you please try to update the connector to the 0.1.28 and try again?

@nthbooth-feedr
Copy link
Author

It was the latest when I submitted this. I eneded up removing checkout_sessions_line_items
from the sync which stopped the issue occurring however I have resynced the schema and will run the sync again with the latest version and see what happens.

@misteryeo
Copy link
Contributor

Did that resolve the issue @nthbooth-feedr?

@nthbooth-feedr
Copy link
Author

nthbooth-feedr commented May 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Hold
Development

No branches or pull requests