I have a husbpot connection where i have this stre...
# replication-troubleshooting
m
I have a husbpot connection where i have this stream:
account_management_objects
yesterday the team created new fields in properties of the object. And the problem is the fields are not appearing y the final table hubspot_raw.
account_management_objects
but in the table:
airbyte_internal.hubspot_raw_raw__stream_account_management_objects
those new fields inside the de json properties field they appear also i got this stream running with full refresh in case the incremental don't catch the changes but neither of them catches
plus1 1
k
When new fields are added to a HubSpot object (like
account_management_objects
), Airbyte does not automatically update the schema of your connection to include those fields in the final table. Here’s what’s happening based on your description and Airbyte’s documented behavior: - Raw Table vs. Final Table: The raw table (
airbyte_internal.hubspot_raw_raw__stream_account_management_objects
) stores the full JSON payload, so new fields appear there immediately inside the
properties
JSON. The final table (
hubspot_raw.account_management_objects
) only includes fields that are present in the current Airbyte schema for that stream. If you haven’t refreshed the schema in Airbyte, new fields won’t be extracted and materialized as columns in the final table. - Schema Refresh Required: Airbyte continues to sync data using the configured schema until you manually update it. To include new fields, you must refresh the source schema in the Airbyte UI. After refreshing, Airbyte will detect the new fields and allow you to add them to the sync. You may also need to reset the stream to ensure the new schema is applied and data is re-synced with the new fields included in the final table. [How does Airbyte handle replication when a data source changes its schema?](https://discuss.airbyte.io/t/90) - Full Refresh Alone Is Not Enough: Running a full refresh without updating the schema will not bring in the new fields to the final table, because Airbyte is still using the old schema definition. What you should do: 1. Go to your Airbyte connection for HubSpot. 2. Click on the stream (
account_management_objects
). 3. Use the “Refresh source schema” option. 4. Review and approve the new fields. 5. Save changes and, if prompted, reset the affected stream(s). 6. Run the sync again. This process will update the final table to include the new fields as columns, and they will be populated from the raw data going forward. References: - [How does Airbyte handle replication when a data source changes its schema?](https://discuss.airbyte.io/t/90) - [Upgrading to 4.0.0 – Refresh affected schemas and reset data](https://docs.airbyte.com/integrations/sources/hubspot-migrations#upgrading-to-400) - [CDC Limitations – Adding New Schemas/Columns](https://docs.airbyte.com/platform/understanding-airbyte/cdc#limitations) If you follow these steps and still do not see the new fields in the final table, please ensure you have approved the schema changes and reset the stream as described above.
m
@kapa.ai there is another thing. there is this field named org_id inside properties an also as a column inside the stream companies for the hubspot connection. the things is i cannot see values inside this field anymore, in hubspot the field is filled but airbyte does not catch it. look the airbyte internal table this is from select * from airbyte_internal.hubspot_raw_raw__stream_companies the column __airbyte_data_{"id":"10114647835","properties":{"about_us":null,"address":null,"address2":null,"amo_status":null,"annualrevenue":null,"apellido_primer_contacto":null,"aulas_totales":null,"backup___cct":null,"backup___city":null,"backup___localidad":null,"backup___nombre":null,"backup___postal_code":null,"backup___state___region":null,"backup___street_address":null,"backup_localidad":null,"bdr_status":null,"bdr_status_comments":null,"cantidad_de_colegios_cercanos":null,"cantidad_de_deals_en_lost":0,"cantidad_de_estudiantes":null,"cantidad_de_estudiantes_por_aula":null,"cantidad_de_estudiantes_por_docente":null,"cantidad_de_niveles_educativos":null,"cantidad_total_de_computadores":null,"cantidad_total_de_docentes":null,"cct":null,"cct___clave_de_centro_de_trabajo":null,"checkbox___creacion_contacto":null,"city":"TLALNEPANTLA DE BAZ","closedate":null,"colegios_cercanos":null,"company_data_source":"Old Data - Before SIGED","company_type_for_cometa":"[No usar] En búsqueda de merge","competencia":null,"correo_primer_contacto":null,"country":"Ciudad de México","createdate":"2022-11-17T221455.497000+00:00","days_to_close":null,"deal_status":null,"description":null,"domain":null,"engagements_last_meeting_booked":null,"engagements_last_meeting_booked_campaign":null,"engagements_last_meeting_booked_medium":null,"engagements_last_meeting_booked_source":null,"estado":"Ciudad de México","estado_del_colegio__siged_":null,"facebook_company_page":null,"facebookfans":null,"fecha_fundacion__siged_":null,"first_contact_createdate":"2022-11-17T221455.497000+00:00","first_contact_createdate_timestamp_earliest_value_78b50eea":null,"first_conversion_date":null,"first_conversion_event_name":null,"first_deal_created_date":null,"founded_year":null,"google_maps_link":null,"googleplus_page":null,"grado_de_marginacion":null,"hs_additional_domains":null,"hs_all_accessible_team_ids":"59158976","hs_all_owner_ids":"77645238","hs_all_team_ids":"59158976","hs_analytics_first_timestamp":"2022-11-17T221455.497000+00:00","hs_analytics_first_touch_converting_campaign":null,"hs_analytics_first_visit_timestamp":null,"hs_analytics_last_timestamp":null,"hs_analytics_last_timestamp_timestamp_latest_value_4e16365a":null,"hs_analytics_last_touch_converting_campaign":null,"hs_analytics_last_touch_converting_campaign_timestamp_latest_value_81a64e30":null,"hs_analytics_last_visit_timestamp":null,"hs_analytics_last_visit_timestamp_timestamp_latest_value_999a0fce":null,"hs_analytics_latest_source":"OFFLINE","hs_analytics_latest_source_data_1":"IMPORT","hs_analytics_latest_source_data_2":"30202307","hs_analytics_latest_source_timestamp":"2022-11-17T221456.451000+00:00","hs_analytics_num_page_views":0,"hs_analytics_num_page_views_cardinality_sum_e46e85b0":null,"hs_analytics_num_visits":0,"hs_analytics_num_visits_cardinality_sum_53d952a6":null,"hs_analytics_source":"OFFLINE","hs_analytics_source_data_1":"IMPORT","hs_analytics_source_data_2":"30202307","hs_annual_revenue_currency_code":"USD","hs_avatar_filemanager_key":null,"hs_country_code":null,"hs_created_by_user_id":47742512,"hs_createdate":null,"hs_date_entered_customer":null,"hs_date_entered_evangelist":null,"hs_date_entered_lead":"2022-11-17T221455.497000+00:00","hs_date_entered_marketingqualifiedlead":null,"hs_date_entered_opportunity":null,"hs_date_entered_other":null,"hs_date_entered_salesqualifiedlead":null,"hs_date_entered_subscriber":null,"hs_date_exited_customer":null,"hs_date_exited_evangelist":null,"hs_date_exited_lead":null,"hs_date_exited_marketingqualifiedlead":null,"hs_date_exited_opportunity":null,"hs_date_exited_other":null,"hs_date_exited_salesqualifiedlead":null,"hs_date_exited_subscriber":null,"hs_employee_range":null,"hs_ideal_customer_profile":null,"hs_industry_group":null,"hs_is_enriched":null,"hs_is_target_account":null,"hs_keywords":null,"hs_last_booked_meeting_date":null,"hs_last_logged_call_date":null,"hs_last_logged_outgoing_email_date":"2024-10-11T183502.800000+00:00","hs_last_metered_enrichment_timestamp":null,"hs_last_open_task_date":null,"hs_last_sales_activity_date":"1970-01-21T001111.704000+00:00","hs_last_sales_activity_timestamp":"2022-11-18T234220.208000+00:00","hs_last_sales_activity_type":"EMAIL_OPEN","hs_lastmodifieddate":"2025-08-28T153030.987000+00:00","hs_latest_createdate_of_active_subscriptions":null,"hs_latest_meeting_activity":null,"hs_lead_status":"Nuevo","hs_linkedin_handle":null,"hs_live_enrichment_deadline":null,"hs_logo_url":null,"hs_merged_object_ids":null,"hs_notes_last_activity":"0-49-62157897379","hs_notes_next_activity":null,"hs_notes_next_activity_type":null,"hs_num_blockers":0,"hs_num_child_companies":0,"hs_num_contacts_with_buying_roles":0,"hs_num_decision_makers":0,"hs_num_open_deals":0,"hs_object_id":10114647835,"hs_object_source":"IMPORT","hs_object_source_detail_1":null,"hs_object_source_detail_2":null,"hs_object_source_detail_3":null,"hs_object_source_id":"30202307","hs_object_source_label":"IMPORT","hs_object_source_user_id":47742512,"hs_owning_teams":null,"hs_parent_company_id":null,"hs_pinned_engagement_id":null,"hs_pipeline":"companies-lifecycle-pipeline","hs_predictivecontactscore_v2":0.68,"hs_predictivecontactscore_v2_next_max_max_d4e58c1e":null,"hs_quick_context":null,"hs_read_only":null,"hs_research_agent_execution_id":null,"hs_research_agent_id":null,"hs_revenue_range":null,"hs_sales_email_last_replied":null,"hs_shared_team_ids":null,"hs_shared_user_ids":null,"hs_state_code":null,"hs_target_account":null,"hs_target_account_probability":0.4989093542098999,"hs_target_account_recommendation_snooze_time":null,"hs_target_account_recommendation_state":null,"hs_task_label":"CENTRO DE DESARROLLO INTEGRAL PARA LA EDUCACION BOSQUES","hs_time_in_customer":null,"hs_time_in_evangelist":null,"hs_time_in_lead":88024543663,"hs_time_in_marketingqualifiedlead":null,"hs_time_in_opportunity":null,"hs_time_in_other":null,"hs_time_in_salesqualifiedlead":null,"hs_time_in_subscriber":null,"hs_total_deal_value":null,"hs_unique_creation_key":null,"hs_updated_by_user_id":77645238,"hs_user_ids_of_all_notification_followers":null,"hs_user_ids_of_all_notification_unfollowers":null,"hs_user_ids_of_all_owners":"77645238","hs_was_imported":true,"hubspot_owner_assigneddate":"2025-08-08T133632.545000+00:00","hubspot_owner_id":"77645238","hubspot_team_id":"59158976","hubspotscore":null,"id_del_colegio_en_la_base_siged__dea_":null,"industry":null,"is_public":null,"latitud":null,"lifecyclestage":"lead","linkedin_company_page":null,"linkedinbio":null,"localidad":null,"localidad_siged":null,"longitud":null,"name":"CENTRO DE DESARROLLO INTEGRAL PARA LA EDUCACION BOSQUES","newest_account_management_object_id__dea_":null,"newest_deal_id__dea_":null,"newest_onboarding_object_id__dea_":null,"nivel_educativo":"Preescolar;Primaria;Secundaria;Preparatoria","nombre_del_director":null,"nombre_primer_contacto":null,"notes_last_contacted":"2024-10-11T183502.800000+00:00","notes_last_updated":"2024-10-11T183502.800000+00:00","notes_next_activity_date":null,"num_associated_contacts":1,"num_associated_deals":null,"num_contacted_notes":10,"num_conversion_events":0,"num_conversion_events_cardinality_sum_d095f14b":null,"num_notes":10,"numberofemployees":null,"onboarding_status":null,"org_id__bancometa_":null,"phone":null,"rank_aulas":null,"rank_docentes":null,"rank_nacional":null,"rank_niveles":null,"rank_tamano":null,"rank_tecnologia":null,"rank_valor_de_matricula":null,"recent_conversion_date":null,"recent_conversion_date_timestamp_latest_value_72856da1":null,"recent_conversion_event_name":null,"recent_conversion_event_name_timestamp_latest_value_66c820bf":null,"recent_deal_amount":null,"recent_deal_close_date":null,"revops_checkbox":null,"revops_duplicated_cluster":null,"score_de_asentamiento":null,"score_de_aulas":null,"score_de_densidad":null,"score_de_digitalizacion":null,"score_de_docentes":null,"score_de_email":null,"score_de_infraestructura":null,"score_de_marginacion":null,"score_de_niveles":null,"score_de_tamano":null,"score_de_tecnologia":null,"score_de_telefono":null,"score_de_valor_de_matricula":null,"score_de_website":null,"score_socioeconomico":null,"score_total":null,"state":"Ciudad de México","tamano_del_colegio":null,"telefono_primer_contacto":null,"tier__impacto_":null,"timezone":null,"tipo_de_asentamiento":null,"total_money_raised":null,"total_revenue":null,"twitterbio":null,"twitterfollowers":null,"twitterhandle":null,"type":null,"web_technologies":null,"website":null,"zip":null},"createdAt":"2022-11-17T221455.497Z","updatedAt":"2025-08-28T153030.987Z","archived":false,"contacts":["216162","216162"],"properties_cantidad_de_deals_en_lost":0,"properties_city":"TLALNEPANTLA DE BAZ","properties_company_data_source":"Old Data - Before SIGED","properties_company_type_for_cometa":"[No usar] En búsqueda de merge","properties_country":"Ciudad de México","properties_createdate":"2022-11-17T221455.497000+00:00","properties_estado":"Ciudad de México","properties_first_contact_createdate":"2022-11-17T221455.497000+00:00","properties_hs_all_accessible_team_ids":"59158976","properties_hs_all_owner_ids":"77645238","properties_hs_all_team_ids":"59158976","properties_hs_analytics_first_timestamp":"2022-11-17T221455.497000+00:00","properties_hs_analytics_latest_source":"OFFLINE","properties_hs_analytics_latest_source_data_1":"IMPORT","properties_hs_analytics_latest_source_data_2":"30202307","properties_hs_analytics_latest_source_timestamp":"2022-11-17T221456.451000+00:00","properties_hs_analytics_num_page_views":0,"properties_hs_analytics_num_visits":0,"properties_hs_analytics_source":"OFFLINE","properties_hs_analytics_source_data_1":"IMPORT","properties_hs_analytics_source_data_2":"30202307","properties_hs_annual_revenue_currency_code":"USD","properties_hs_created_by_user_id":47742512,"properties_hs_date_entered_lead":"2022-11-17T221455.497000+00:00","properties_hs_last_logged_outgoing_email_date":"2024-10-11T183502.800000+00:00","properties_hs_last_sales_activity_date":"1970-01-21T001111.704000+00:00","properties_hs_last_sales_activity_timestamp":"2022-11-18T234220.208000+00:00","properties_hs_last_sales_activity_type":"EMAIL_OPEN","properties_hs_lastmodifieddate":"2025-08-28T153030.987000+00:00","properties_hs_lead_status":"Nuevo","properties_hs_notes_last_activity":"0-49-62157897379","properties_hs_num_blockers":0,"properties_hs_num_child_companies":0,"properties_hs_num_contacts_with_buying_roles":0,"properties_hs_num_decision_makers":0,"properties_hs_num_open_deals":0,"properties_hs_object_id":10114647835,"properties_hs_object_source":"IMPORT","properties_hs_object_source_id":"30202307","properties_hs_object_source_label":"IMPORT","properties_hs_object_source_user_id":47742512,"properties_hs_pipeline":"companies-lifecycle-pipeline","properties_hs_predictivecontactscore_v2":0.68,"properties_hs_target_account_probability":0.4989093542098999,"properties_hs_task_label":"CENTRO DE DESARROLLO INTEGRAL PARA LA EDUCACION BOSQUES","properties_hs_time_in_lead":88024543663,"properties_hs_updated_by_user_id":77645238,"properties_hs_user_ids_of_all_owners":"77645238","properties_hs_was_imported":true,"properties_hubspot_owner_assigneddate":"2025-08-08T133632.545000+00:00","properties_hubspot_owner_id":"77645238","properties_hubspot_team_id":"59158976","properties_lifecyclestage":"lead","properties_name":"CENTRO DE DESARROLLO INTEGRAL PARA LA EDUCACION BOSQUES","properties_nivel_educativo":"Preescolar;Primaria;Secundaria;Preparatoria","properties_notes_last_contacted":"2024-10-11T
k
A message from kapa.ai
New message text here
m
@kapa.ai i've already see, that the field name is ok, i refreshed the stream schema, i set the stream to full refresh and the name is the same here you have an extract from the properties filed inside airbyte internal
Copy code
{"id":"8925849911","properties":{"about_us":null,"accion_bdr":null,"address":null,"address2":null,"amo_status":null,"annualrevenue":1000000,"apellido_primer_contacto":null,"aulas_totales":null,"backup___cct":null,"backup___city":null,"backup___localidad":null,"backup___nombre":null,"backup___postal_code":null,"backup___state___region":null,"backup___street_address":null,"backup_localidad":null,"bdr_responsable__bob_":null,"bdr_status":"En prospección","bdr_status_comments":null,"cantidad_de_cct_relacionados":0,"cantidad_de_colegios_cercanos":null,"cantidad_de_deals_en_contrato_firmado":0,"cantidad_de_deals_en_lost":0,"cantidad_de_estudiantes":null,"cantidad_de_estudiantes_por_aula":null,"cantidad_de_estudiantes_por_docente":null,"cantidad_de_llamadas_sin_respuesta":0,"cantidad_de_niveles_educativos":null,"cantidad_total_de_computadores":null,"cantidad_total_de_docentes":null,"cct":null,"cct___clave_de_centro_de_trabajo":null,"checkbox___creacion_contacto":null,"city":null,"closedate":null,"colegio_religioso":null,"colegios_cercanos":null,"comentarios_colegio_religioso":null,"company_data_source":"Old Data - Before SIGED","company_status":null,"company_type_for_cometa":"[No usar] En búsqueda de merge","competencia":null,"correo_primer_contacto":null,"country":"Mexico","createdate":"2022-06-16T02:19:45.834000+00:00","days_to_close":null,"deal_status":null,"description":"Sunland is a private high school and arts academy in Mexico. They offer courses and workshops in music, theater, and dance for people of all ages. Their unique educational model integrates academic and artistic offerings, allowing students to develop t...","domain":"sunland.mx","enfoque_de_marketing":null,"engagements_last_meeting_booked":null,"engagements_last_meeting_booked_campaign":null,"engagements_last_meeting_booked_medium":null,"engagements_last_meeting_booked_source":null,"estado":null,"estado_del_colegio__siged_":null,"facebook_company_page":"https://facebook.com/sunlandmexico","facebook_url":null,"facebookfans":null,"fecha_de_asignacion__bob_":null,"fecha_de_ultima_llamada":null,"fecha_fundacion__siged_":null,"first_contact_createdate":"2022-06-16T02:19:45.201000+00:00","first_contact_createdate_timestamp_earliest_value_78b50eea":null,"first_conversion_date":null,"first_conversion_event_name":null,"first_deal_created_date":null,"founded_year":null,"google_maps_link":null,"googleplus_page":null,"grado_de_marginacion":null,"hs_additional_domains":null,"hs_all_accessible_team_ids":"59158976","hs_all_owner_ids":"77645238","hs_all_team_ids":"59158976","hs_analytics_first_timestamp":"2022-06-16T02:19:45.201000+00:00","hs_analytics_first_touch_converting_campaign":null,"hs_analytics_first_visit_timestamp":null,"hs_analytics_last_timestamp":null,"hs_analytics_last_timestamp_timestamp_latest_value_4e16365a":null,"hs_analytics_last_touch_converting_campaign":null,"hs_analytics_last_touch_converting_campaign_timestamp_latest_value_81a64e30":null,"hs_analytics_last_visit_timestamp":null,"hs_analytics_last_visit_timestamp_timestamp_latest_value_999a0fce":null,"hs_analytics_latest_source":"OFFLINE","hs_analytics_latest_source_data_1":"EXTENSION","hs_analytics_latest_source_data_2":"userId:44233861","hs_analytics_latest_source_timestamp":"2022-06-16T02:19:45.301000+00:00","hs_analytics_num_page_views":0,"hs_analytics_num_page_views_cardinality_sum_e46e85b0":null,"hs_analytics_num_visits":0,"hs_analytics_num_visits_cardinality_sum_53d952a6":null,"hs_analytics_source":"OFFLINE","hs_analytics_source_data_1":"EXTENSION","hs_analytics_source_data_2":"userId:44233861","hs_annual_revenue_currency_code":"USD","hs_avatar_filemanager_key":null,"hs_count_intent_signals_created_last_14_days":null,"hs_count_intent_signals_created_last_30_days":null,"hs_count_intent_signals_created_last_7_days":null,"hs_country_code":null,"hs_created_by_user_id":null,"hs_createdate":null,"hs_date_entered_1180877704":null,"hs_date_entered_1181502644":null,"hs_date_entered_1183913144":null,"hs_date_entered_1183919152":null,"hs_date_entered_1183919153":null,"hs_date_entered_1185938313":null,"hs_date_entered_1185939620":null,"hs_date_entered_1189635455":null,"hs_date_entered_customer":null,"hs_date_entered_evangelist":null,"hs_date_entered_lead":null,"hs_date_entered_marketingqualifiedlead":null,"hs_date_entered_opportunity":null,"hs_date_entered_other":"2025-10-03T21:14:10.216000+00:00","hs_date_entered_salesqualifiedlead":null,"hs_date_entered_subscriber":null,"hs_date_exited_1180877704":null,"hs_date_exited_1181502644":null,"hs_date_exited_1183913144":null,"hs_date_exited_1183919152":null,"hs_date_exited_1183919153":null,"hs_date_exited_1185938313":null,"hs_date_exited_1185939620":null,"hs_date_exited_1189635455":null,"hs_date_exited_customer":null,"hs_date_exited_evangelist":null,"hs_date_exited_lead":null,"hs_date_exited_marketingqualifiedlead":null,"hs_date_exited_opportunity":null,"hs_date_exited_other":null,"hs_date_exited_salesqualifiedlead":null,"hs_date_exited_subscriber":null,"hs_employee_range":null,"hs_ideal_customer_profile":null,"hs_industry_group":null,"hs_intent_page_views_last_30_days":null,"hs_intent_paid_up_to_date":null,"hs_intent_signals_enabled":null,"hs_intent_visitors_last_30_days":null,"hs_is_enriched":null,"hs_is_intent_monitored":null,"hs_is_target_account":null,"hs_keywords":null,"hs_last_booked_meeting_date":"2022-07-12T18:15:00+00:00","hs_last_logged_call_date":null,"hs_last_logged_outgoing_email_date":"2025-09-15T15:35:08.929000+00:00","hs_last_metered_enrichment_timestamp":null,"hs_last_open_task_date":null,"hs_last_sales_activity_date":"1970-01-21T08:30:29.471000+00:00","hs_last_sales_activity_timestamp":"2025-09-23T12:11:11.830000+00:00","hs_last_sales_activity_type":"EMAIL_CLICK","hs_lastmodifieddate":"2025-10-03T21:14:18.501000+00:00","hs_latest_createdate_of_active_subscriptions":null,"hs_latest_intent_signal_timestamp":null,"hs_latest_meeting_activity":"2022-07-12T18:15:00+00:00","hs_lead_status":"Nuevo","hs_linkedin_handle":null,"hs_live_enrichment_deadline":null,"hs_logo_url":null,"hs_merged_object_ids":null,"hs_most_recent_de_anonymized_visit":null,"hs_notes_last_activity":"0-49-88595888451","hs_notes_next_activity":null,"hs_notes_next_activity_type":null,"hs_num_blockers":0,"hs_num_child_companies":0,"hs_num_contacts_with_buying_roles":0,"hs_num_decision_makers":0,"hs_num_open_deals":0,"hs_object_id":8925849911,"hs_object_source":"COMPANIES","hs_object_source_detail_1":null,"hs_object_source_detail_2":null,"hs_object_source_detail_3":null,"hs_object_source_id":"FetchAssociatedCompanyIdStep","hs_object_source_label":"CRM_SETTING","hs_object_source_user_id":null,"hs_owning_teams":null,"hs_parent_company_id":null,"hs_pinned_engagement_id":null,"hs_pipeline":"companies-lifecycle-pipeline","hs_predictivecontactscore_v2":null,"hs_predictivecontactscore_v2_next_max_max_d4e58c1e":null,"hs_quick_context":null,"hs_read_only":null,"hs_research_agent_execution_id":null,"hs_research_agent_id":null,"hs_revenue_range":null,"hs_sales_email_last_replied":"2024-02-03T15:38:50+00:00","hs_shared_team_ids":null,"hs_shared_user_ids":null,"hs_signals_summary":null,"hs_state_code":null,"hs_target_account":null,"hs_target_account_probability":0.5272626876831055,"hs_target_account_recommendation_snooze_time":null,"hs_target_account_recommendation_state":null,"hs_task_label":"Sunland","hs_time_in_1180877704":null,"hs_time_in_1181502644":null,"hs_time_in_1183913144":null,"hs_time_in_1183919152":null,"hs_time_in_1183919153":null,"hs_time_in_1185938313":null,"hs_time_in_1185939620":null,"hs_time_in_1189635455":null,"hs_time_in_customer":null,"hs_time_in_evangelist":null,"hs_time_in_lead":null,"hs_time_in_marketingqualifiedlead":null,"hs_time_in_opportunity":null,"hs_time_in_other":1031136816,"hs_time_in_salesqualifiedlead":null,"hs_time_in_subscriber":null,"hs_total_deal_value":null,"hs_unique_creation_key":null,"hs_updated_by_user_id":77645238,"hs_user_ids_of_all_notification_followers":null,"hs_user_ids_of_all_notification_unfollowers":null,"hs_user_ids_of_all_owners":"77645238","hs_was_imported":true,"hubspot_owner_assigneddate":"2025-08-08T13:36:32.545000+00:00","hubspot_owner_id":"77645238","hubspot_team_id":"59158976","hubspotscore":null,"id_del_colegio_en_la_base_siged__dea_":null,"industry":null,"instagram_url":null,"is_public":false,"latitud":null,"lifecyclestage":"other","linkedin_company_page":null,"linkedin_url":null,"linkedinbio":"Sunland is a private high school and arts academy in Mexico. They offer courses and workshops in music, theater, and dance for people of all ages. Their unique educational model integrates academic and artistic offerings, allowing students to develop t...","localidad":null,"localidad_siged":null,"longitud":null,"name":"Sunland","newest_account_management_object_id__dea_":null,"newest_deal_id__dea_":null,"newest_onboarding_object_id__dea_":null,"nivel_educativo":null,"nombre_de_la_congregacion_asociada":null,"nombre_del_director":null,"nombre_primer_contacto":null,"notes_last_contacted":"2025-09-15T15:35:08.929000+00:00","notes_last_updated":"2025-09-15T15:35:08.929000+00:00","notes_next_activity_date":null,"num_associated_contacts":1,"num_associated_deals":null,"num_contacted_notes":36,"num_conversion_events":0,"num_conversion_events_cardinality_sum_d095f14b":null,"num_notes":55,"numberofemployees":null,"onboarding_status":null,"org_id__bancometa_":null
k
Sorry @Marko Talledo, it looks like your question contains files, which I cannot process. Please reformulate your question without including any files.
m
@kapa.ai i've already see, that the field name is ok, i refreshed the stream schema, i set the stream to full refresh and the name is the same here you have an extract from the properties filed inside airbyte internal. the name in hubspot is 'Org ID (bancometa)' and airbyte got "org_id__bancometa_":null also inside properties it says org_id:null. why is that
Copy code
{"id":"8925849911","properties":{"about_us":null,"accion_bdr":null,"address":null,"address2":null,"amo_status":null,"annualrevenue":1000000,"apellido_primer_contacto":null,"aulas_totales":null,"backup___cct":null,"backup___city":null,"backup___localidad":null,"backup___nombre":null,"backup___postal_code":null,"backup___state___region":null,"backup___street_address":null,"backup_localidad":null,"bdr_responsable__bob_":null,"bdr_status":"En prospección","bdr_status_comments":null,"cantidad_de_cct_relacionados":0,"cantidad_de_colegios_cercanos":null,"cantidad_de_deals_en_contrato_firmado":0,"cantidad_de_deals_en_lost":0,"cantidad_de_estudiantes":null,"cantidad_de_estudiantes_por_aula":null,"cantidad_de_estudiantes_por_docente":null,"cantidad_de_llamadas_sin_respuesta":0,"cantidad_de_niveles_educativos":null,"cantidad_total_de_computadores":null,"cantidad_total_de_docentes":null,"cct":null,"cct___clave_de_centro_de_trabajo":null,"checkbox___creacion_contacto":null,"city":null,"closedate":null,"colegio_religioso":null,"colegios_cercanos":null,"comentarios_colegio_religioso":null,"company_data_source":"Old Data - Before SIGED","company_status":null,"company_type_for_cometa":"[No usar] En búsqueda de merge","competencia":null,"correo_primer_contacto":null,"country":"Mexico","createdate":"2022-06-16T02:19:45.834000+00:00","days_to_close":null,"deal_status":null,"description":"Sunland is a private high school and arts academy in Mexico. They offer courses and workshops in music, theater, and dance for people of all ages. Their unique educational model integrates academic and artistic offerings, allowing students to develop t...","domain":"sunland.mx","enfoque_de_marketing":null,"engagements_last_meeting_booked":null,"engagements_last_meeting_booked_campaign":null,"engagements_last_meeting_booked_medium":null,"engagements_last_meeting_booked_source":null,"estado":null,"estado_del_colegio__siged_":null,"facebook_company_page":"https://facebook.com/sunlandmexico","facebook_url":null,"facebookfans":null,"fecha_de_asignacion__bob_":null,"fecha_de_ultima_llamada":null,"fecha_fundacion__siged_":null,"first_contact_createdate":"2022-06-16T02:19:45.201000+00:00","first_contact_createdate_timestamp_earliest_value_78b50eea":null,"first_conversion_date":null,"first_conversion_event_name":null,"first_deal_created_date":null,"founded_year":null,"google_maps_link":null,"googleplus_page":null,"grado_de_marginacion":null,"hs_additional_domains":null,"hs_all_accessible_team_ids":"59158976","hs_all_owner_ids":"77645238","hs_all_team_ids":"59158976","hs_analytics_first_timestamp":"2022-06-16T02:19:45.201000+00:00","hs_analytics_first_touch_converting_campaign":null,"hs_analytics_first_visit_timestamp":null,"hs_analytics_last_timestamp":null,"hs_analytics_last_timestamp_timestamp_latest_value_4e16365a":null,"hs_analytics_last_touch_converting_campaign":null,"hs_analytics_last_touch_converting_campaign_timestamp_latest_value_81a64e30":null,"hs_analytics_last_visit_timestamp":null,"hs_analytics_last_visit_timestamp_timestamp_latest_value_999a0fce":null,"hs_analytics_latest_source":"OFFLINE","hs_analytics_latest_source_data_1":"EXTENSION","hs_analytics_latest_source_data_2":"userId:44233861","hs_analytics_latest_source_timestamp":"2022-06-16T02:19:45.301000+00:00","hs_analytics_num_page_views":0,"hs_analytics_num_page_views_cardinality_sum_e46e85b0":null,"hs_analytics_num_visits":0,"hs_analytics_num_visits_cardinality_sum_53d952a6":null,"hs_analytics_source":"OFFLINE","hs_analytics_source_data_1":"EXTENSION","hs_analytics_source_data_2":"userId:44233861","hs_annual_revenue_currency_code":"USD","hs_avatar_filemanager_key":null,"hs_count_intent_signals_created_last_14_days":null,"hs_count_intent_signals_created_last_30_days":null,"hs_count_intent_signals_created_last_7_days":null,"hs_country_code":null,"hs_created_by_user_id":null,"hs_createdate":null,"hs_date_entered_1180877704":null,"hs_date_entered_1181502644":null,"hs_date_entered_1183913144":null,"hs_date_entered_1183919152":null,"hs_date_entered_1183919153":null,"hs_date_entered_1185938313":null,"hs_date_entered_1185939620":null,"hs_date_entered_1189635455":null,"hs_date_entered_customer":null,"hs_date_entered_evangelist":null,"hs_date_entered_lead":null,"hs_date_entered_marketingqualifiedlead":null,"hs_date_entered_opportunity":null,"hs_date_entered_other":"2025-10-03T21:14:10.216000+00:00","hs_date_entered_salesqualifiedlead":null,"hs_date_entered_subscriber":null,"hs_date_exited_1180877704":null,"hs_date_exited_1181502644":null,"hs_date_exited_1183913144":null,"hs_date_exited_1183919152":null,"hs_date_exited_1183919153":null,"hs_date_exited_1185938313":null,"hs_date_exited_1185939620":null,"hs_date_exited_1189635455":null,"hs_date_exited_customer":null,"hs_date_exited_evangelist":null,"hs_date_exited_lead":null,"hs_date_exited_marketingqualifiedlead":null,"hs_date_exited_opportunity":null,"hs_date_exited_other":null,"hs_date_exited_salesqualifiedlead":null,"hs_date_exited_subscriber":null,"hs_employee_range":null,"hs_ideal_customer_profile":null,"hs_industry_group":null,"hs_intent_page_views_last_30_days":null,"hs_intent_paid_up_to_date":null,"hs_intent_signals_enabled":null,"hs_intent_visitors_last_30_days":null,"hs_is_enriched":null,"hs_is_intent_monitored":null,"hs_is_target_account":null,"hs_keywords":null,"hs_last_booked_meeting_date":"2022-07-12T18:15:00+00:00","hs_last_logged_call_date":null,"hs_last_logged_outgoing_email_date":"2025-09-15T15:35:08.929000+00:00","hs_last_metered_enrichment_timestamp":null,"hs_last_open_task_date":null,"hs_last_sales_activity_date":"1970-01-21T08:30:29.471000+00:00","hs_last_sales_activity_timestamp":"2025-09-23T12:11:11.830000+00:00","hs_last_sales_activity_type":"EMAIL_CLICK","hs_lastmodifieddate":"2025-10-03T21:14:18.501000+00:00","hs_latest_createdate_of_active_subscriptions":null,"hs_latest_intent_signal_timestamp":null,"hs_latest_meeting_activity":"2022-07-12T18:15:00+00:00","hs_lead_status":"Nuevo","hs_linkedin_handle":null,"hs_live_enrichment_deadline":null,"hs_logo_url":null,"hs_merged_object_ids":null,"hs_most_recent_de_anonymized_visit":null,"hs_notes_last_activity":"0-49-88595888451","hs_notes_next_activity":null,"hs_notes_next_activity_type":null,"hs_num_blockers":0,"hs_num_child_companies":0,"hs_num_contacts_with_buying_roles":0,"hs_num_decision_makers":0,"hs_num_open_deals":0,"hs_object_id":8925849911,"hs_object_source":"COMPANIES","hs_object_source_detail_1":null,"hs_object_source_detail_2":null,"hs_object_source_detail_3":null,"hs_object_source_id":"FetchAssociatedCompanyIdStep","hs_object_source_label":"CRM_SETTING","hs_object_source_user_id":null,"hs_owning_teams":null,"hs_parent_company_id":null,"hs_pinned_engagement_id":null,"hs_pipeline":"companies-lifecycle-pipeline","hs_predictivecontactscore_v2":null,"hs_predictivecontactscore_v2_next_max_max_d4e58c1e":null,"hs_quick_context":null,"hs_read_only":null,"hs_research_agent_execution_id":null,"hs_research_agent_id":null,"hs_revenue_range":null,"hs_sales_email_last_replied":"2024-02-03T15:38:50+00:00","hs_shared_team_ids":null,"hs_shared_user_ids":null,"hs_signals_summary":null,"hs_state_code":null,"hs_target_account":null,"hs_target_account_probability":0.5272626876831055,"hs_target_account_recommendation_snooze_time":null,"hs_target_account_recommendation_state":null,"hs_task_label":"Sunland","hs_time_in_1180877704":null,"hs_time_in_1181502644":null,"hs_time_in_1183913144":null,"hs_time_in_1183919152":null,"hs_time_in_1183919153":null,"hs_time_in_1185938313":null,"hs_time_in_1185939620":null,"hs_time_in_1189635455":null,"hs_time_in_customer":null,"hs_time_in_evangelist":null,"hs_time_in_lead":null,"hs_time_in_marketingqualifiedlead":null,"hs_time_in_opportunity":null,"hs_time_in_other":1031136816,"hs_time_in_salesqualifiedlead":null,"hs_time_in_subscriber":null,"hs_total_deal_value":null,"hs_unique_creation_key":null,"hs_updated_by_user_id":77645238,"hs_user_ids_of_all_notification_followers":null,"hs_user_ids_of_all_notification_unfollowers":null,"hs_user_ids_of_all_owners":"77645238","hs_was_imported":true,"hubspot_owner_assigneddate":"2025-08-08T13:36:32.545000+00:00","hubspot_owner_id":"77645238","hubspot_team_id":"59158976","hubspotscore":null,"id_del_colegio_en_la_base_siged__dea_":null,"industry":null,"instagram_url":null,"is_public":false,"latitud":null,"lifecyclestage":"other","linkedin_company_page":null,"linkedin_url":null,"linkedinbio":"Sunland is a private high school and arts academy in Mexico. They offer courses and workshops in music, theater, and dance for people of all ages. Their unique educational model integrates academic and artistic offerings, allowing students to develop t...","localidad":null,"localidad_siged":null,"longitud":null,"name":"Sunland","newest_account_management_object_id__dea_":null,"newest_deal_id__dea_":null,"newest_onboarding_object_id__dea_":null,"nivel_educativo":null,"nombre_de_la_congregacion_asociada":null,"nombre_del_director":null,"nombre_primer_contacto":null,"notes_last_contacted":"2025-09-15T15:35:08.929000+00:00","notes_last_updated":"2025-09-15T15:35:08.929000+00:00","notes_next_activity_date":null,"num_associated_contacts":1,"num_associated_deals":null,"num_contacted_notes":36,"num_conversion_events":0,"num_conversion_events_cardinality_sum_d095f14b":null,"num_notes":55,"numberofemployees":null,"onboarding_status":null,"org_id__bancometa_":nul
k
A message from kapa.ai
Based on your detailed description and the data sample, here’s what we can determine: - The field in HubSpot is named "Org ID (bancometa)". - In the Airbyte raw internal table, you see both
org_id
and
org_id__bancometa_
as keys, but their values are always
null
. - You have already refreshed the schema, set the stream to full refresh, and confirmed the field names match. ### What This Means If the field is present in the raw JSON but always
null
, this indicates that Airbyte is successfully pulling the schema and field name from HubSpot, but the actual value is not being returned by the HubSpot API for these records at sync time. This is not a schema mapping or Airbyte extraction issue, but rather an issue with the data returned by the HubSpot API. ### Possible Causes 1. HubSpot API Limitation or Permissions: Sometimes, custom fields in HubSpot may not be returned by the API if the API key or OAuth token used does not have access to that property, or if the property is not included in the API response for some reason. 2. Field Population Timing: If the field was recently added or populated in HubSpot, and the sync is running on a schedule, it’s possible that the data was not yet available at the time of the last sync. However, since you mention the field is filled in HubSpot and you’ve run a full refresh, this is less likely. 3. Field Type or API Response Issue: There are known issues where HubSpot fields may not be returned as expected if there are type mismatches or if the field is not included in the default set of properties returned by the API. This has been observed in other Airbyte HubSpot connector issues, where fields are present in the schema but not populated in the data, or where custom fields are not returned unless explicitly requested or due to API quirks [source-hubspot missing data for contacts stream](https://github.com/airbytehq/airbyte/issues/40591). ### What You Can Do - Double-check HubSpot API Response: Use a direct API call (e.g., with Postman or curl) to fetch a company record and see if the
org_id__bancometa_
or
org_id
field is present and populated in the API response. This will confirm whether the issue is with the API or with Airbyte’s extraction. - Check API Key/Token Permissions: Ensure the credentials used by Airbyte have access to all custom properties. - Review Known Issues: There are similar reports where fields are missing or not updated in incremental syncs, or where associations and custom fields are not extracted as expected, even after a full refresh and schema update [source-hubspot missing data for contacts stream](https://github.com/airbytehq/airbyte/issues/40591). - Connector Limitations: If the field is present in the API response but not in Airbyte’s output, it may be a connector bug or limitation. In that case, you may need to open a GitHub issue with Airbyte, providing the API response and your Airbyte logs. --- Summary: If the field is always
null
in Airbyte’s raw data, but filled in HubSpot, the most likely cause is that the HubSpot API is not returning the value for that field during sync, or there is a permissions/configuration issue. If you confirm the API returns the value but Airbyte does not, it may be a connector bug. If you need further help, please provide the output of a direct HubSpot API call for the same record, showing the value of the field in question. This will help determine if the issue is with the API or with Airbyte’s extraction process.
m
@kapa.ai then why all the other fields are being filled but this id field is not? why exactly the api is crashing those values?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide a definitive answer as to why a specific field (like your
org_id
or
org_id__bancometa_
) would be returned as
null
by the HubSpot API while other fields are filled. However, based on similar issues reported in the Airbyte community and GitHub, there are a few possible reasons observed in practice: 1. HubSpot API Behavior or Permissions: Sometimes, custom fields may not be returned by the API if there are permission issues, or if the field is not included in the set of properties returned by default. This has been noted as a general limitation or quirk with the HubSpot API, especially for custom or recently added fields. There are also cases where the API may not return certain fields if they are not populated for a given record, or if the field is not accessible with the current API credentials. This is not unique to Airbyte, but rather a behavior of the HubSpot API itself [source-hubspot missing data for contacts stream](https://github.com/airbytehq/airbyte/issues/40591). 2. Data Type or Schema Issues: If there is a type mismatch (for example, if the field is sometimes an integer and sometimes a string), Airbyte may drop the value due to schema validation errors. This has been observed in other streams, where schema validation errors cause certain fields to be omitted or set to
null
in the output, even if they are present in the API response [source-hubspot missing data for contacts stream](https://github.com/airbytehq/airbyte/issues/40591). 3. HubSpot API Inconsistencies: There are known issues where some fields, especially custom or special fields, are inconsistently returned by the HubSpot API. This has been discussed in the Airbyte community, where users have found that some fields are only available under certain conditions or API endpoints, or may require explicit inclusion in the API request [Forum: Hubspot connector not importing Associations correctly](https://discuss.airbyte.io/t/1826). In summary: The knowledge sources suggest that this is likely due to a limitation or behavior of the HubSpot API, not Airbyte itself. If all other fields are being filled but this one is not, it is most likely that the API is not returning the value for that field at sync time, possibly due to permissions, field configuration, or API quirks. If you have confirmed via direct API calls that the field is present and filled, but Airbyte still does not extract it, then it may be worth opening a GitHub issue with Airbyte, including the API response and your sync logs for further investigation. If you need a more precise answer, you may need to consult HubSpot's API documentation or support, as the Airbyte knowledge sources do not provide a specific technical explanation for this behavior.
m
@kapa.ai now i got this errro what is it' 2025-10-23 173850 destination ERROR main i.a.c.i.b.AirbyteExceptionHandler(uncaughtException):31 Something went wrong in the connector. See the logs for more details. java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: could not complete because of conflict with concurrent transaction at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: could not complete because of conflict with concurrent transaction at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeInternal(RedshiftStatementImpl.java:519) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:440) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:381) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeCachedSql(RedshiftStatementImpl.java:367) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:344) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:334) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) ~[HikariCP-5.1.0.jar:?] at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) ~[HikariCP-5.1.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:67) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) ~[airbyte-cdk-s3-destinations-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 3 more Stack Trace: java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: could not complete because of conflict with concurrent transaction at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: com.amazon.redshift.util.RedshiftException: ERROR: could not complete because of conflict with concurrent transaction at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeInternal(RedshiftStatementImpl.java:519) at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:440) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:381) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeCachedSql(RedshiftStatementImpl.java:367) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:344) at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:334) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:67) at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 3 more 2025-10-23 173850 replication-orchestrator ERROR DestinationWriter error: 2025-10-23 173850 replication-orchestrator ERROR DestinationWriter error: 2025-10-23 173850 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-23 173850 replication-orchestrator ERROR DestinationReader error: 2025-10-23 173850 replication-orchestrator ERROR SourceReader error: 2025-10-23 173850 replication-orchestrator ERROR runJobs failed; recording failure but continuing to finish. 2025-10-23 173850 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-23 173851 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteDestination@59f3ae9c; recording failure but continuing. 2025-10-23 173951 replication-orchestrator WARN Failed to wait for exit value file /source/exitCode.txt to be found. 2025-10-23 173951 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@7280fbd4; recording failure but continuing. 2025-10-23 173954 platform ERROR Failing job: 54685368, reason: Job failed after too many retries for connection 996602cf-335d-4a9e-9d04-f1fa0fd46fc2
k
A message from kapa.ai
The error you are seeing:
Copy code
com.amazon.redshift.util.RedshiftException: ERROR: could not complete because of conflict with concurrent transaction
means that Redshift could not complete a database operation because another transaction was modifying the same data at the same time. This is a Redshift-level concurrency conflict, not specific to Airbyte, but it can occur during Airbyte syncs if multiple processes or syncs are trying to write to or modify the same tables concurrently. Key points from the knowledge sources: - This type of error is not unique to Airbyte and is a known behavior in Redshift when there are concurrent transactions that conflict with each other. - The error is surfaced in Airbyte logs as a connector failure, and the sync job fails after too many retries. What you can do: - Ensure only one sync or process is writing to the same Redshift tables at a time. If you have multiple Airbyte syncs, or other ETL jobs, or manual queries running that modify the same tables, try to schedule them so they do not overlap. - Check for other processes or users writing to the same tables. This includes BI tools, scripts, or other integrations. - If you are using Airbyte’s reset or full refresh features, make sure no other jobs are running on the same tables during the sync/reset. The knowledge sources do not provide a specific Airbyte-side fix for this error, as it is a Redshift concurrency issue. If you continue to see this error even when only Airbyte is writing to the tables, you may want to review your Redshift transaction isolation settings or consult AWS Redshift documentation for further troubleshooting. If you need more detailed help, please provide information about other jobs or processes that might be accessing your Redshift tables during Airbyte syncs. --- References: The knowledge sources do not contain a direct example of this error, but similar Redshift transaction and concurrency issues are discussed in the context of sync failures and connector errors.
m
@kapa.ai is this the same error? 2025-10-23 163030 platform WARN Backing off for: 30 seconds. 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword group - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword display_type - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword groups - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 163452 destination WARN MinaProcessor-2 o.a.s.c.k.StaticServerKeyVerifier(handleAcceptance):59 Server at ec2-44-192-39-76.compute-1.amazonaws.com/44.192.39.76:22 presented unverified EC key: SHA256:nayb5vJqpXa7+uMzAbE8OT5hkVO9rElth6ub4e0w+Qs 2025-10-23 163452 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.check(RedshiftDestination.kt:124) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check$lambda$1(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.ssh.SshTunnel$Companion.sshWrap(SshTunnel.kt:545) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:166) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt) 2025-10-23 163452 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-10-23 164440 platform ERROR Stage Pipeline Exception: io.airbyte.workload.launcher.pipeline.stages.model.StageError: java.lang.RuntimeException: Init container for Pod: pods did not complete successfully. Actual termination reason: Error. message: java.lang.RuntimeException: Init container for Pod: pods did not complete successfully. Actual termination reason: Error. stackTrace: [Ljava.lang.StackTraceElement;@3c372802 2025-10-23 164644 platform WARN Failed to update workload status to launched. Workload may be reprocessed on restart.Exception: io.airbyte.api.client.ApiException: message: stackTrace: [Ljava.lang.StackTraceElement;@46064cf4 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword group - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword display_type - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword groups - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-23 165139 destination WARN MinaProcessor-2 o.a.s.c.k.StaticServerKeyVerifier(handleAcceptance):59 Server at ec2-44-192-39-76.compute-1.amazonaws.com/44.192.39.76:22 presented unverified EC key: SHA256:nayb5vJqpXa7+uMzAbE8OT5hkVO9rElth6ub4e0w+Qs 2025-10-23 165139 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-10-23 165140 replication-orchestrator WARN Workload in terminal state; exiting. 2025-10-23 165140 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer(RedshiftDestination.kt:405) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt)
k
A message from kapa.ai
No, this is not the same error as the Redshift "conflict with concurrent transaction" error you reported earlier. The log you posted here contains several warnings about unknown JSON schema keywords (such as
order
,
airbyte_secret
,
display_type
, etc.), deprecation warnings for the AWS SDK for Java 1.x, and some SSH key verification messages. These are common and generally do not cause sync failures by themselves—they are informational or warnings about configuration, schema, or library versions. The only error in this log is:
Copy code
Stage Pipeline Exception: io.airbyte.workload.launcher.pipeline.stages.model.StageError: java.lang.RuntimeException: Init container for Pod: pods did not complete successfully. Actual termination reason: Error.
This error indicates that an Airbyte pod (container) failed to start or complete its initialization, which is a Kubernetes or Airbyte infrastructure issue, not a Redshift transaction conflict. This could be due to resource limits, image pull errors, or other pod startup problems, but it is not related to database transaction concurrency. Summary: - The "conflict with concurrent transaction" error is a Redshift database error caused by concurrent writes. - The errors and warnings in this log are about schema keywords, SDK deprecation, and a pod/container failing to initialize, which is a different class of problem. If you need to resolve the pod/container error, you should check your Kubernetes/Airbyte deployment logs for more details on why the pod failed to start. If you need to resolve the Redshift transaction conflict, focus on database concurrency and sync scheduling. The knowledge sources confirm these are different issues and do not indicate they are related.
m
i got this error too @kapa.ai Search logs at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 3 more 2025-10-23 153757 destination ERROR main i.a.c.i.b.AirbyteExceptionHandler(uncaughtException):31 Something went wrong in the connector. See the logs for more details. java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 16304 waits for AccessExclusiveLock on relation 2614269 of database 102533; blocked by process 21369. Process 21369 waits for ShareLock on transaction 65014341; blocked by process 16304. at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 16304 waits for AccessExclusiveLock on relation 2614269 of database 102533; blocked by process 21369. Process 21369 waits for ShareLock on transaction 65014341; blocked by process 16304. at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftConnectionImpl.executeTransactionCommand(RedshiftConnectionImpl.java:1091) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftConnectionImpl.commit(RedshiftConnectionImpl.java:1117) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.zaxxer.hikari.pool.ProxyConnection.commit(ProxyConnection.java:378) ~[HikariCP-5.1.0.jar:?] at com.zaxxer.hikari.pool.HikariProxyConnection.commit(HikariProxyConnection.java) ~[HikariCP-5.1.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:72) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) ~[airbyte-cdk-s3-destinations-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 3 more Stack Trace: java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 16304 waits for AccessExclusiveLock on relation 2614269 of database 102533; blocked by process 21369. Process 21369 waits for ShareLock on transaction 65014341; blocked by process 16304. at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 16304 waits for AccessExclusiveLock on relation 2614269 of database 102533; blocked by process 21369. Process 21369 waits for ShareLock on transaction 65014341; blocked by process 16304. at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) at com.amazon.redshift.jdbc.RedshiftConnectionImpl.executeTransactionCommand(RedshiftConnectionImpl.java:1091) at com.amazon.redshift.jdbc.RedshiftConnectionImpl.commit(RedshiftConnectionImpl.java:1117) at com.zaxxer.hikari.pool.ProxyConnection.commit(ProxyConnection.java:378) at com.zaxxer.hikari.pool.HikariProxyConnection.commit(HikariProxyConnection.java) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:72) at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 3 more 2025-10-23 153757 replication-orchestrator ERROR DestinationWriter error: 2025-10-23 153757 replication-orchestrator ERROR DestinationWriter error: 2025-10-23 153757 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-23 153757 replication-orchestrator ERROR DestinationReader error: 2025-10-23 153757 replication-orchestrator ERROR SourceReader error: 2025-10-23 153757 replication-orchestrator ERROR runJobs failed; recording failure but continuing to finish. 2025-10-23 153757 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-23 153757 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteDestination@4d38f8b8; recording failure but continuing. 2025-10-23 153857 replication-orchestrator WARN Failed to wait for exit value file /source/exitCode.txt to be found. 2025-10-23 153857 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@3e83943c; recording failure but continuing.
k
A message from kapa.ai
The error you are seeing:
Copy code
com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected   Detail: Process 16304 waits for AccessExclusiveLock on relation ... blocked by process 21369. Process 21369 waits for ShareLock on transaction ... blocked by process 16304.
is a Redshift database deadlock error. This is not the same as the previous "conflict with concurrent transaction" error, but it is a related class of issue: both are caused by concurrent database operations that interfere with each other. A deadlock occurs when two or more transactions are each waiting for the other to release a lock, so neither can proceed. In your case, Airbyte is trying to perform a "soft reset" (which involves dropping and recreating tables as part of its typing and deduping process), but another transaction is holding a lock on the same table, and both are waiting for each other to finish. Key points from the knowledge sources: - Airbyte's typing and deduping process may drop and recreate tables as part of a sync or reset, which requires exclusive locks on those tables. If another process is accessing the same tables, a deadlock can occur, causing the sync to fail [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation). - This is a Redshift-level issue, not specific to Airbyte, but it is surfaced as a connector error in Airbyte logs. What you can do: - Avoid running multiple syncs or other processes that access the same Redshift tables at the same time. - Check for other jobs, queries, or users that might be locking the same tables during Airbyte syncs or resets. - If possible, schedule Airbyte syncs during periods of low database activity to minimize the risk of deadlocks. If you continue to see deadlocks even when only Airbyte is accessing the tables, you may need to review your Redshift workload management and transaction isolation settings. The knowledge sources do not provide a specific Airbyte-side fix for deadlocks, as this is a general database concurrency issue. --- Summary: This is a Redshift deadlock error caused by concurrent access to the same tables during Airbyte's sync/reset operations. To resolve, avoid overlapping database operations on the same tables during Airbyte syncs or resets, as recommended in the Airbyte documentation [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation).
m
@kapa.ai again we haave problems with the connection java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-2 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-3 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-4 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-5 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-6 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-7 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-8 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-9 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065609 destination WARN main i.a.c.i.b.IntegrationRunner$Companion(stopOrphanedThreads):489 Active non-daemon thread info: sync-operations-10 (WAITING) Thread stacktrace: java.base/jdk.internal.misc.Unsafe.park(Native Method) at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519) at java.base/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3780) at java.base/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3725) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712) at java.base/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-28 065610 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-28 065610 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-28 065710 replication-orchestrator WARN Failed to wait for exit value file /source/exitCode.txt to be found.
k
A message from kapa.ai
The logs you posted show multiple Airbyte destination sync worker threads in a
WAITING
state, specifically on
LinkedBlockingQueue.take
. This means these threads are idle, waiting for new tasks to process, and have not encountered an error themselves. The repeated warnings about "Active non-daemon thread info" are Airbyte's way of reporting that there are still background threads running when the main process is trying to shut down or clean up. This pattern is similar to what has been reported in the Airbyte community when syncs hang or do not complete, often due to underlying issues with the sync process, resource contention, or problems in the destination connector. For example, users have reported syncs getting stuck with threads waiting, and the Airbyte process eventually warning about orphaned or lingering threads [Forum: Main thread is existing with active children non-daemon threads](https://discuss.airbyte.io/t/418). Key points: - The
WAITING
state itself is not an error, but a symptom that the sync process is not progressing as expected. - This can be caused by upstream errors (such as database deadlocks, transaction conflicts, or pod/container failures) that prevent the sync from completing, leaving worker threads waiting indefinitely. - The warning "Attempted to close a destination which is already closed" and "Failed to wait for exit value file /source/exitCode.txt to be found" further suggest that the sync process did not shut down cleanly, likely due to an earlier error or hang. What to do: - Review the full Airbyte logs for any preceding errors (such as Redshift deadlocks, transaction conflicts, or container failures) that may have caused the sync to hang. - Check for resource issues or concurrency problems in your destination (e.g., Redshift) that could block the sync. - If this pattern repeats, consider restarting the affected Airbyte pods or the entire deployment, as users have reported that this can clear stuck syncs [Forum: Syncs getting stuck on](https://discuss.airbyte.io/t/2394). If you need more targeted troubleshooting, please provide the full error logs leading up to these warnings, as the knowledge sources do not contain a single root cause for this thread waiting pattern, but it is commonly associated with underlying sync or infrastructure issues.
m
and this error? @kapa.ai 2025-10-28 112929 destination ERROR main i.a.c.i.b.AirbyteExceptionHandler(uncaughtException):31 Something went wrong in the connector. See the logs for more details. java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 4785 waits for AccessExclusiveLock on relation 2702157 of database 102533; blocked by process 9877. Process 9877 waits for ShareLock on transaction 66210930; blocked by process 4785. at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 4785 waits for AccessExclusiveLock on relation 2702157 of database 102533; blocked by process 9877. Process 9877 waits for ShareLock on transaction 66210930; blocked by process 4785. at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftConnectionImpl.executeTransactionCommand(RedshiftConnectionImpl.java:1091) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftConnectionImpl.commit(RedshiftConnectionImpl.java:1117) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.zaxxer.hikari.pool.ProxyConnection.commit(ProxyConnection.java:378) ~[HikariCP-5.1.0.jar:?] at com.zaxxer.hikari.pool.HikariProxyConnection.commit(HikariProxyConnection.java) ~[HikariCP-5.1.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:72) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) ~[airbyte-cdk-s3-destinations-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 3 more Stack Trace: java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 4785 waits for AccessExclusiveLock on relation 2702157 of database 102533; blocked by process 9877. Process 9877 waits for ShareLock on transaction 66210930; blocked by process 4785. at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected Detail: Process 4785 waits for AccessExclusiveLock on relation 2702157 of database 102533; blocked by process 9877. Process 9877 waits for ShareLock on transaction 66210930; blocked by process 4785. at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) at com.amazon.redshift.jdbc.RedshiftConnectionImpl.executeTransactionCommand(RedshiftConnectionImpl.java:1091) at com.amazon.redshift.jdbc.RedshiftConnectionImpl.commit(RedshiftConnectionImpl.java:1117) at com.zaxxer.hikari.pool.ProxyConnection.commit(ProxyConnection.java:378) at com.zaxxer.hikari.pool.HikariProxyConnection.commit(HikariProxyConnection.java) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction$lambda$1(JdbcDatabase.kt:72) at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) at io.airbyte.cdk.db.jdbc.JdbcDatabase.executeWithinTransaction(JdbcDatabase.kt:61) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:122) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:85) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeTypeAndDedupe(TyperDeduperUtil.kt:219) at io.airbyte.integrations.base.destination.typing_deduping.TyperDeduperUtil.executeSoftReset(TyperDeduperUtil.kt:267) at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.softResetFinalTable(RedshiftStagingStorageOperation.kt:153) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareFinalTable(AbstractStreamOperation.kt:291) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:67) at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 3 more
k
A message from kapa.ai
The error you are seeing:
Copy code
com.amazon.redshift.util.RedshiftException: ERROR: deadlock detected   Detail: Process 4785 waits for AccessExclusiveLock on relation ... blocked by process 9877. Process 9877 waits for ShareLock on transaction ... blocked by process 4785.
is a Redshift database deadlock error. This means that two or more transactions are each waiting for the other to release a lock, so neither can proceed. In the context of Airbyte, this typically happens during operations like table re-creation (soft reset) as part of the typing and deduping process, which requires exclusive locks on tables. Key points from the knowledge sources: - Airbyte may drop and re-create tables as part of its sync or reset process, which requires exclusive locks. If another process is accessing the same tables at the same time, a deadlock can occur and cause the sync to fail. This is a Redshift-level issue, not specific to Airbyte, but it is surfaced as a connector error in Airbyte logs [On final table re-creation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/typing-deduping#on-final-table-re-creation). What you can do: - Avoid running multiple syncs or other processes that access the same Redshift tables at the same time. - Check for other jobs, queries, or users that might be locking the same tables during Airbyte syncs or resets. - If possible, schedule Airbyte syncs during periods of low database activity to minimize the risk of deadlocks. The knowledge sources do not provide a specific Airbyte-side fix for deadlocks, as this is a general database concurrency issue. --- Summary: This is a Redshift deadlock error caused by concurrent access to the same tables during Airbyte's sync/reset operations. To resolve, avoid overlapping database operations on the same tables during Airbyte syncs or resets, as recommended in the Airbyte documentation.
m
@kapa.ai now i got this error 2025-10-28 172856 destination ERROR main i.a.c.i.b.AirbyteExceptionHandler(uncaughtException):31 Something went wrong in the connector. See the logs for more details. java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: Target table and source table attributes don't match. Detail: ----------------------------------------------- error: Target table and source table attributes don't match. code: 8001 context: The source table and the target table have different distribution styles. Make sure both tables use the same distribution style: EVEN, ALL, or DISTKEY. query: 0 location: tbl_perm.cpp:4391 process: padbmaster [pid=1073955042] ----------------------------------------------- at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) ~[airbyte-cdk-dependencies-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) ~[?:?] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: Target table and source table attributes don't match. Detail: ----------------------------------------------- error: Target table and source table attributes don't match. code: 8001 context: The source table and the target table have different distribution styles. Make sure both tables use the same distribution style: EVEN, ALL, or DISTKEY. query: 0 location: tbl_perm.cpp:4391 process: padbmaster [pid=1073955042] ----------------------------------------------- at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeInternal(RedshiftStatementImpl.java:519) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:440) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:381) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeCachedSql(RedshiftStatementImpl.java:367) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:344) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:334) ~[redshift-jdbc42-2.1.0.30.jar:?] at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) ~[HikariCP-5.1.0.jar:?] at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) ~[HikariCP-5.1.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute$lambda$0(JdbcDatabase.kt:52) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute(JdbcDatabase.kt:48) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute(JdbcDatabase.kt:43) ~[airbyte-cdk-core-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:129) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.transferFromTempStage(RedshiftStagingStorageOperation.kt:65) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareStageForNormalSync(AbstractStreamOperation.kt:95) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:62) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) ~[airbyte-cdk-s3-destinations-0.46.0.jar:?] at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) ~[io.airbyte.airbyte-integrations.connectors-destination-redshift.jar:?] at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) ~[airbyte-cdk-typing-deduping-0.46.0.jar:?] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] ... 3 more Stack Trace: java.util.concurrent.CompletionException: com.amazon.redshift.util.RedshiftException: ERROR: Target table and source table attributes don't match. Detail: ----------------------------------------------- error: Target table and source table attributes don't match. code: 8001 context: The source table and the target table have different distribution styles. Make sure both tables use the same distribution style: EVEN, ALL, or DISTKEY. query: 0 location: tbl_perm.cpp:4391 process: padbmaster [pid=1073955042] ----------------------------------------------- at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:46) at io.airbyte.commons.concurrency.CompletableFutures$allOf$1.invoke(CompletableFutures.kt:31) at io.airbyte.commons.concurrency.CompletableFutures.allOf$lambda$1(CompletableFutures.kt:31) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: com.amazon.redshift.util.RedshiftException: ERROR: Target table and source table attributes don't match. Detail: ----------------------------------------------- error: Target table and source table attributes don't match. code: 8001 context: The source table and the target table have different distribution styles. Make sure both tables use the same distribution style: EVEN, ALL, or DISTKEY. query: 0 location: tbl_perm.cpp:4391 process: padbmaster [pid=1073955042] ----------------------------------------------- at com.amazon.redshift.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2648) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResultsOnThread(QueryExecutorImpl.java:2295) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at com.amazon.redshift.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1878) at com.amazon.redshift.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:375) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeInternal(RedshiftStatementImpl.java:519) at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:440) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:381) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeCachedSql(RedshiftStatementImpl.java:367) at com.amazon.redshift.jdbc.RedshiftStatementImpl.executeWithFlags(RedshiftStatementImpl.java:344) at com.amazon.redshift.jdbc.RedshiftStatementImpl.execute(RedshiftStatementImpl.java:334) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute$lambda$0(JdbcDatabase.kt:52) at io.airbyte.cdk.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.kt:30) at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute(JdbcDatabase.kt:48) at io.airbyte.cdk.db.jdbc.JdbcDatabase.execute(JdbcDatabase.kt:43) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute(RedshiftDestinationHandler.kt:129) at io.airbyte.integrations.destination.redshift.typing_deduping.RedshiftDestinationHandler.execute$default(RedshiftDestinationHandler.kt:94) at io.airbyte.integrations.destination.redshift.operation.RedshiftStagingStorageOperation.transferFromTempStage(RedshiftStagingStorageOperation.kt:65) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.prepareStageForNormalSync(AbstractStreamOperation.kt:95) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.<init>(AbstractStreamOperation.kt:62) at io.airbyte.cdk.integrations.destination.staging.operation.StagingStreamOperations.<init>(StagingStreamOperations.kt:29) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer$lambda$0(RedshiftDestination.kt:422) at io.airbyte.integrations.base.destination.operation.DefaultSyncOperation.createPerStreamOpClients$lambda$4$lambda$3(DefaultSyncOperation.kt:81) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ... 3 more 2025-10-28 172856 replication-orchestrator ERROR DestinationWriter error: 2025-10-28 172856 replication-orchestrator ERROR DestinationWriter error: 2025-10-28 172856 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-28 172856 replication-orchestrator ERROR DestinationReader error: 2025-10-28 172856 replication-orchestrator ERROR SourceReader error: 2025-10-28 172856 replication-orchestrator ERROR runJobs failed; recording failure but continuing to finish. 2025-10-28 172857 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-10-28 172857 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteDestination@4b6a54c; recording failure but continuing. 2025-10-28 172957 replication-orchestrator WARN Failed to wait for exit value file /source/exitCode.txt to be found. 2025-10-28 172957 replication-orchestrator ERROR Error closing resource
k
A message from kapa.ai
The error you are seeing:
Copy code
com.amazon.redshift.util.RedshiftException: ERROR: Target table and source table attributes don't match. context:   The source table and the target table have different distribution styles. Make sure both tables use the same distribution style: EVEN, ALL, or DISTKEY.
means that during the sync, Airbyte is trying to move data from a temporary (staging) table to the final target table in Redshift, but the two tables have different distribution styles (EVEN, ALL, or DISTKEY). Redshift requires that both the source and target tables have the same distribution style for certain operations, such as
INSERT INTO ... SELECT * FROM ...
or table swaps. How to resolve: - You need to ensure that the distribution style of the target table matches the distribution style of the temporary/staging table that Airbyte creates. - This mismatch can happen if the target table was manually created or altered, or if previous syncs used a different configuration. What you can do: - Drop the target table in Redshift so that Airbyte can recreate it with the correct distribution style on the next sync. - Alternatively, manually alter the distribution style of the target table to match the staging table (usually EVEN, unless you have customized Airbyte's advanced settings). Reference: This type of error is a known Redshift behavior and is surfaced in Airbyte logs when table attributes do not match during sync operations. The knowledge sources confirm that Airbyte writes and manages tables in Redshift and that schema and table attribute mismatches can cause sync failures, especially when Airbyte needs to recreate or move data between tables as part of its ELT process [Step 1: Set up Redshift](https://docs.airbyte.com/integrations/destinations/redshift#step-1-set-up-redshift). If you continue to see this error after dropping the table, check your Airbyte connection and destination settings to ensure no custom distribution style is being set that could cause a mismatch.
m
i've been seeing this connection directly i saw that there is a stream that causes the other one not to advance in the processs that's the bottle neck the stream is contacts stream for hubspot and these are the logs @kapa.ai you know what could be happening? Logs: HubSpot → Redshift 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword group - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword display_type - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword groups - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101256 destination WARN MinaProcessor-2 o.a.s.c.k.StaticServerKeyVerifier(handleAcceptance):59 Server at ec2-44-192-39-76.compute-1.amazonaws.com/44.192.39.76:22 presented unverified EC key: SHA256:nayb5vJqpXa7+uMzAbE8OT5hkVO9rElth6ub4e0w+Qs 2025-10-30 101256 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.check(RedshiftDestination.kt:124) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check$lambda$1(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.ssh.SshTunnel$Companion.sshWrap(SshTunnel.kt:545) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:166) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt) 2025-10-30 101256 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword group - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword display_type - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword groups - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-10-30 101521 destination WARN MinaProcessor-2 o.a.s.c.k.StaticServerKeyVerifier(handleAcceptance):59 Server at ec2-44-192-39-76.compute-1.amazonaws.com/44.192.39.76:22 presented unverified EC key: SHA256:nayb5vJqpXa7+uMzAbE8OT5hkVO9rElth6ub4e0w+Qs 2025-10-30 101521 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-10-30 101522 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer(RedshiftDestination.kt:405) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.getSerializedMessageConsumer(SshWrappedDestination.kt:129) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:214) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt)
k
A message from kapa.ai
Based on the logs you provided, there are no critical errors directly shown—only warnings about unknown JSON schema keywords, AWS SDK deprecation, and some driver instantiation messages. These are common and generally do not cause sync failures or bottlenecks by themselves. However, you mention that the contacts stream for HubSpot is acting as a bottleneck and causing other streams not to advance. This is a known issue in Airbyte, especially with large HubSpot accounts or streams with many custom properties or associations. The following are possible causes, supported by the knowledge sources: 1. HubSpot Contacts Stream Performance Issues: The contacts stream is known to be slow, especially for large datasets or when there are many custom fields and associations. This can cause the sync to take a long time, effectively blocking other streams from progressing. Users have reported that the contacts stream can take hours or even days to complete, and the bookmark (state) may advance very slowly [Source-hubspot contact_list_membership/contacts extraction performance optimization](https://discuss.airbyte.io/t/2219). 2. Associations and Custom Properties: If you have many custom properties or associations enabled, the contacts stream will make additional API calls for each record, further slowing down the sync. This is a common bottleneck for HubSpot sources with complex schemas [source-hubspot missing data for contacts stream](https://github.com/airbytehq/airbyte/issues/40591). 3. No Evidence of Redshift or Connector Errors in Provided Logs: The logs you posted do not show Redshift deadlocks, transaction conflicts, or schema mismatches, which are other common causes of sync stalls. The warnings shown are not blocking. What you can do: - Reduce the number of properties and associations selected in the contacts stream to only those you need. This can significantly improve performance [source-hubSpot to BigQuery destination blocked by known issue](https://github.com/airbytehq/airbyte/issues/62090). - Consider splitting the sync or running the contacts stream separately if possible. - Monitor Airbyte and HubSpot API rate limits to ensure you are not being throttled. If you need more detailed troubleshooting, you should look for logs that show actual errors (not just warnings) or provide more information about the sync status and performance metrics. In summary: The bottleneck is likely due to the size and complexity of the contacts stream in HubSpot, especially if you have many custom fields or associations enabled. The warnings in your logs are not the cause of the bottleneck. To improve performance, reduce the number of fields and associations being synced in the contacts stream and monitor for any actual errors in the logs. [Source-hubspot contact_list_membership/contacts extraction performance optimization](https://discuss.airbyte.io/t/2219)
m
@kapa.ai can you tell me whats happening now with my stream? 1 L*ogs: HubSpot → Redshift* 2025-12-02 122807 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.check(RedshiftDestination.kt:124) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check$lambda$1(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.ssh.SshTunnel$Companion.sshWrap(SshTunnel.kt:545) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.check(SshWrappedDestination.kt:66) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:166) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt) 2025-12-02 122807 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword group - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword display_type - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN main c.n.s.UnknownKeywordFactory(lambda$getKeyword$0):37 Unknown keyword groups - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword or if it should generate annotations AnnotationKeyword 2025-12-02 123025 destination WARN MinaProcessor-2 o.a.s.c.k.StaticServerKeyVerifier(handleAcceptance):59 Server at ec2-44-192-39-76.compute-1.amazonaws.com/44.192.39.76:22 presented unverified EC key: SHA256:nayb5vJqpXa7+uMzAbE8OT5hkVO9rElth6ub4e0w+Qs 2025-12-02 123025 destination WARN main c.z.h.u.DriverDataSource(<init>):68 Registered driver with driverClassName=com.amazon.redshift.jdbc.Driver was not found, trying direct instantiation. 2025-12-02 123027 destination WARN main c.a.u.VersionInfoUtils(printDeprecationAnnouncement):85 The AWS SDK for Java 1.x entered maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/ You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'. This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.java.v1.disableDeprecationAnnouncement system property to 'true'. The AWS SDK for Java 1.x is being used here: at java.base/java.lang.Thread.getStackTrace(Thread.java:2451) at com.amazonaws.util.VersionInfoUtils.printDeprecationAnnouncement(VersionInfoUtils.java:81) at com.amazonaws.util.VersionInfoUtils.<clinit>(VersionInfoUtils.java:59) at com.amazonaws.internal.EC2ResourceFetcher.<clinit>(EC2ResourceFetcher.java:44) at com.amazonaws.auth.InstanceMetadataServiceCredentialsFetcher.<init>(InstanceMetadataServiceCredentialsFetcher.java:38) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:111) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:91) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<init>(InstanceProfileCredentialsProvider.java:75) at com.amazonaws.auth.InstanceProfileCredentialsProvider.<clinit>(InstanceProfileCredentialsProvider.java:58) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.initializeProvider(EC2ContainerCredentialsProviderWrapper.java:66) at com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper.<init>(EC2ContainerCredentialsProviderWrapper.java:55) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<init>(DefaultAWSCredentialsProviderChain.java:60) at com.amazonaws.auth.DefaultAWSCredentialsProviderChain.<clinit>(DefaultAWSCredentialsProviderChain.java:54) at com.amazonaws.services.s3.AmazonS3ClientBuilder.standard(AmazonS3ClientBuilder.java:46) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.createS3Client(S3DestinationConfig.kt:117) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.resetS3Client(S3DestinationConfig.kt:105) at io.airbyte.cdk.integrations.destination.s3.S3DestinationConfig.getS3Client(S3DestinationConfig.kt:43) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getS3StorageOperations(RedshiftDestination.kt:449) at io.airbyte.integrations.destination.redshift.RedshiftDestination.getSerializedMessageConsumer(RedshiftDestination.kt:405) at io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination.getSerializedMessageConsumer(SshWrappedDestination.kt:129) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:214) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.redshift.RedshiftDestination$Companion.main(RedshiftDestination.kt:519) at io.airbyte.integrations.destination.redshift.RedshiftDestination.main(RedshiftDestination.kt) 2025-12-02 125454 destination WARN pool-6-thread-4 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-5 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-1 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-2 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-3 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-4 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-1 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-2 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-3 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125454 destination WARN pool-6-thread-5 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-1 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-1 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-4 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-5 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-5 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125500 destination WARN pool-6-thread-4 i.a.c.i.d.s.c.CsvSerializedBuffer(closeWriter):108 Trying to close but no printer is initialized. 2025-12-02 125954 destination WARN pool-6-thread-2 i.a.c.i.d.s.c.CsvSerializedBuffer(flushWriter):97 Trying to flush but no printer is initialized.
k
A message from kapa.ai
From these logs the Redshift destination connector is running and passing its
CHECK
(connection test), but no actual CSV writers (“printers”) are ever initialized for some of the worker threads: - The repeated warnings like
Trying to flush but no printer is initialized
/
Trying to close but no printer is initialized
come from
CsvSerializedBuffer
in the S3/Redshift staging layer. They mean those threads never got any records to write, so when they try to flush/close, there is no underlying CSV writer object. - The other messages (
Unknown keyword …
, AWS Java SDK deprecation, Redshift driver “trying direct instantiation”) are just warnings; they don’t indicate a failure. These logs do not show an actual error or failure of the contacts stream, only that: 1. The destination is able to: - Create an S3 client and Redshift connection. - Initialize the staging infrastructure. 2. Some writer threads never receive data (no printer initialized), which is consistent with: - Either very low or no records arriving for the associated streams/partitions, or - The sync being blocked earlier on the source side (HubSpot contacts) before data reaches the destination. There is nothing in these specific lines about HubSpot errors (401, rate limits, schema issues) or Redshift errors (deadlocks, lock conflicts, diststyle mismatch), which are the issues that usually explain a “bottleneck” on HubSpot contacts in the knowledge sources.[[HubSpot contacts perf](https://discuss.airbyte.io/t/2219); [HubSpot contacts mid‑sync issues](https://github.com/airbytehq/airbyte/issues/62467)] Given only these logs, I can’t see a concrete failure on the contacts stream; I can only see destination threads that stay idle. To understand what’s actually blocking the stream you’d need: - The source logs for
source-hubspot
(look for
Exception while syncing stream contacts
, 401s, or rate‑limit/backoff messages). [[HubSpot contacts auth issue](https://github.com/airbytehq/airbyte/issues/62467); [contacts incremental bug](https://github.com/airbytehq/airbyte/issues/60858)] - Any Redshift errors (deadlocks, lock conflicts, “target and source table attributes don’t match”) which you’ve hit before and which can stop the destination from progressing. So, from these snippets alone: - Destination is up and reachable. - No fatal destination error is shown. - Some destination workers are idle (no CSV writer), which likely reflects that the bottleneck is upstream (HubSpot contacts) rather than in these specific destination logs. If you can paste the source (HubSpot) logs for the same run or any ERROR lines around the same timestamps, I can give a more concrete explanation of why the contacts stream is stuck, based on the known HubSpot connector issues.
m
@kapa.ai is taking more than 23 hours to update
k
A message from kapa.ai
From the logs you shared, the Redshift destination connector is not reporting a concrete error: it initializes fine, connects to S3 and Redshift, and some writer threads simply never get a CSV “printer” initialized (so they log
Trying to flush/close but no printer is initialized
). That just means those threads didn’t receive data; it does not explain a 23‑hour runtime by itself. Given your previous errors (deadlocks, lock conflicts, diststyle mismatch) and what’s documented about HubSpot contacts + Redshift, the most likely situation now is: 1. The bottleneck is still the HubSpot
contacts
stream
, not Redshift. Large HubSpot contacts datasets (millions of records, many custom properties, and associations) are known to sync extremely slowly. Users report very slow bookmark advancement and multi‑hour or multi‑day runs when backfilling or when contacts was recently migrated to the new low‑code / concurrent implementation.[[contacts perf](https://discuss.airbyte.io/t/2219); [contacts incremental bug](https://github.com/airbytehq/airbyte/issues/60858); [mid‑sync auth on associations](https://github.com/airbytehq/airbyte/issues/62467)] 2. Destination threads waiting / idle is expected if contacts is slow. While HubSpot contacts is still reading (and possibly also fetching associations), destination writer threads may sit idle or flush/close with “no printer initialized” warnings because no partitions/records reached those workers yet. That matches what you see in the CSV buffer logs. 3. 23+ hours for a big contacts backfill is unfortunately in the “known slow but normal” range. In other large‑account reports: - Bookmarks advanced in tiny time slices over many hours.[[contacts perf](https://discuss.airbyte.io/t/2219)] - For big multi‑million contacts accounts, connectors were essentially unusable until fixes to auth/associations; even with fixes, runs remained very long.[[mid‑sync auth on associations](https://github.com/airbytehq/airbyte/issues/62467)] Given the knowledge sources, there is no documented quick fix that will make this query/stream fast. The standard mitigations are: - Minimize contacts payload: unselect properties and association types you don’t absolutely need for now, to reduce API calls and data size.[[contacts perf](https://discuss.airbyte.io/t/2219)] - Run contacts alone: keep
contacts
in its own Airbyte connection so it doesn’t block other streams and so you can monitor/debug it independently.[[hubspot OOM large accounts](https://discuss.airbyte.io/t/889)] - Ensure you’re on a connector version with the known contacts bugs fixed (incremental bookmark bug, auth on associations).[[contacts incremental bug](https://github.com/airbytehq/airbyte/issues/60858); [mid‑sync auth on associations](https://github.com/airbytehq/airbyte/issues/62467)] - Avoid Redshift contention: don’t run other heavy jobs against the same tables during backfill to prevent deadlocks/lock conflicts you’ve already seen. The logs you’ve most recently posted do not contain a new, specific failure; they just show a very long‑running job where destination workers are mostly idle. The 23‑hour runtime is consistent with the known performance limitations of the HubSpot contacts stream on large/complex accounts, not with a new error condition. If you can share the source‑side logs around the same period (lines mentioning
contacts
stream, rate limits, or errors), I can map them more exactly to the documented HubSpot connector issues.