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

Airbyte Core - "Reset your data" status Failed #14333

Closed
grubberr opened this issue Jul 1, 2022 · 2 comments
Closed

Airbyte Core - "Reset your data" status Failed #14333

grubberr opened this issue Jul 1, 2022 · 2 comments
Labels
team/platform-move type/bug Something isn't working

Comments

@grubberr
Copy link
Contributor

grubberr commented Jul 1, 2022

Environment

  • Airbyte version: 0.39.30-alpha
  • OS Version / Instance: Ubuntu 20.04
  • Deployment: Docker
  • Source Connector and version: (if applicable example Salesforce 0.2.3)
  • Destination Connector and version: destination-snowflake:0.4.30, destination-redshift:0.3.46
  • Step where error happened: Sync job

Current Behavior

Setup connection which sync data from any source to Snowflake or Redshift and make successful sync.
Next press "Reset your data" or "Refresh source schema".

It looks like data really removed from database:

snowflake:

select count(*) from "INTEGRATION_TEST_DESTINATION"."TEXT_SCHEMA"."_AIRBYTE_RAW_TABLENAME";
0

select count(*) from "INTEGRATION_TEST_DESTINATION"."TEXT_SCHEMA"."TABLENAME";
0

redshift:

grubberr_test=# select count(*) from _airbyte_raw_tablename;
 count 
-------
     0

But in UI you can see 3 failed attempt:

Screenshot 2022-07-01 at 09 45 39

From logs:

2022-07-01 08:00:17 ERROR i.a.w.g.DefaultReplicationWorker(run):180 - Sync worker failed.
java.lang.NullPointerException: Cannot invoke "io.airbyte.config.State.getState()" because the return value of "io.airbyte.config.WorkerSourceConfig.getState()" is null
	at io.airbyte.workers.internal.EmptyAirbyteSource.start(EmptyAirbyteSource.java:86) ~[io.airbyte-airbyte-workers-0.39.30-alpha.jar:?]
	at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:139) ~[io.airbyte-airbyte-workers-0.39.30-alpha.jar:?]
	at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:65) ~[io.airbyte-airbyte-workers-0.39.30-alpha.jar:?]
	at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:158) ~[io.airbyte-airbyte-workers-0.39.30-alpha.jar:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Expected Behavior

We have to get successful reset operation in UI

Logs

logs-1.txt - log of successful sync + normalization
logs-2.txt - log of failed reset + normalization

logs-5.txt - log of successful sync
logs-6.txt - log of failed reset

Steps to Reproduce

Are you willing to submit a PR?

Remove this with your answer.

@grubberr grubberr added type/bug Something isn't working needs-triage labels Jul 1, 2022
@grubberr grubberr changed the title Destination Snowflake - "reset your data" FAILED Destination Snowflake - "Reset your data" status FAILED Jul 1, 2022
@grubberr grubberr changed the title Destination Snowflake - "Reset your data" status FAILED Destination Snowflake - "Reset your data" status Failed Jul 1, 2022
@grubberr grubberr changed the title Destination Snowflake - "Reset your data" status Failed Airbyte Core - "Reset your data" status Failed Jul 1, 2022
@benmoriceau
Copy link
Contributor

We fixed it in #14353

@evantahler
Copy link
Contributor

It's fixed, so closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/platform-move type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants