question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`elt` pipeline is exiting with an error code of `-9` and a blank error message

See original GitHub issue

I’ve recently started seeing our pipeline fail with the following output:

2022-06-30T17:09:39.480320Z [error ] Extraction failed code=-9 message=

The command I’m running is: meltano elt tap-postgres-zenapi target-snowflake-zb --state-id=sync-zenapi

Here is a concatenated version of my meltano.yml that contains the config for the offending tap/target pipeline:

plugins:
  extractors:
  - name: tap-postgres-zenapi
    inherit_from: tap-postgres
    config:
      filter_schemas: zb
      itersize: 100000
      default_replication_method: INCREMENTAL
    select:
      - zb-*
    metadata:
      zb-*:
  loaders:
  - name: target-snowflake-zb
    inherit_from: target-snowflake
    variant: transferwise
    pip_url: pipelinewise-target-snowflake
    config:
      add_metadata_columns: true
      batch_size_rows: 100000
      primary_key_required: false
      default_schema: SOURCE

Some further context:

This pipeline is running in a ephemeral Kubernetes pod orchestrated by Airflow, created from an image with Meltano v2.0.1 as the base image found in Dockerhub.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
tayloramurphycommented, Jul 12, 2022

@cbarnes-zb thanks for the update! I’m okay to close - if you have further suggestions on how we can improve error messages or state management, I’d love another issue on that. Thanks!

1reaction
cbarnes-zbcommented, Jul 11, 2022

@aaronsteers I was finally able to track this down last week, or at least what I think is the root cause. We moved state management from the system db to a postgres instance recently as part of ongoing infrastructure changes and updates and I think that somewhere along the way, as careful as we were, the state became corrupted. The payload field contained escaped quotes in a few places. I’m not sure exactly how this happened, but falling back on the payload from a successful run eliminated the error references by this issue.

I’ll leave this open for now so I don’t step on any closing procedures, but I thought I’d let you know this error has been eliminated from our pipe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running multiple backfills returns unexpectedly exit with code -9
The exit code -9 usually means that there's not enough resources on the box that you have running (e.g. out of memory). One...
Read more >
Pipeline failure and error message - Azure Data Factory
Understand how pipeline failure status and error message are determined.
Read more >
Build error after Build Pipeline creation - Azure Devops
Process 'msbuild.exe' exited with code '1'. According to the error message: The directory 'C:\holmestest\PPS\new123' doesn't exist.
Read more >
17.20 - Acquisition Error Table - Parallel Transporter - Docs Teradata
The first error table, called the acquisition error table, is specified with the ErrorTable1 attribute. It provides information about: All errors that occur ......
Read more >
SBCL 2.2.11 User Manual
This chapter will discuss most compiler issues other than efficiency, including compiler error messages, the SBCL compiler's unusual approach to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found