david_tout
06/24/2021, 12:47 PM{"singer_state": {"currently_syncing": "vwProjectMetricRepl", "bookmarks": {"vwProjectRepl": {"replication_key": "updated_at", "version": 1624538306120, "replication_key_value": "2021-06-24T18:47:14.747000+00:00"}}}, "error": "ELT could not be completed: Loader failed"}
I've got both meltano and airflow writing into Postgres, which is also the same DB as my target.
The source is mssql, the target is postgres (Amazon Aurora)
I've run this pipeline from the CLI with success.
The meltano UI is unable to display the logs for this run, and I am unable to SSH into this particular container (running in AWS Fargate).
Any ideas?visch
06/24/2021, 12:50 PMmeltano --log-level=debug elt tapname targetname
So you can see what's going on.visch
06/24/2021, 12:50 PMvisch
06/24/2021, 12:51 PMvisch
06/24/2021, 12:52 PMdavid_tout
06/24/2021, 12:52 PMairflow_scheduler container to my meltano_ui container so that logs generated by airflow runs can be loaded.visch
06/24/2021, 12:53 PMdavid_tout
06/24/2021, 12:53 PMdavid_tout
06/24/2021, 12:54 PMmeltano | Loading failed (-9): INFO Writing batch with 204794 records for `vwProjectMetricRepl` with `key_properties`: `['_sdc_primary_key']`
meltano | ELT could not be completed: Loader failed
Bit vaguedavid_tout
06/24/2021, 12:57 PMMELTANO_CLI_LOG_LEVEL=debug will give me more infodavid_tout
06/24/2021, 1:34 PMvisch
06/24/2021, 1:37 PMvisch
06/24/2021, 1:40 PMvisch
06/24/2021, 1:41 PMcat testinput | meltano invoke target-postgresvisch
06/24/2021, 1:41 PMdavid_tout
06/24/2021, 1:49 PMLocalExecutor), and it writes to the /project/.meltano/logs/elt/ folder on that container. I should have realised that the separate container (same task) instance that is running the meltano UI would not see any files written on another container.
This is a non-issue, because I can just click the "Run now" button in the meltano UI, and then execution happens from that container instead.
My new build/task def defines a volume for the logs path so that containers can share their logs with each other, and setting the debug mode on the Meltano UI container.
I have been trawling through the source code and I can't find where loader exit codes are defined. I'm getting -9.david_tout
06/24/2021, 2:02 PMdouwe_maan
06/24/2021, 2:10 PM-9 typically means that the OS killed the process because of an out-of-memory issue. Is that possible?david_tout
06/24/2021, 2:13 PMdavid_tout
06/24/2021, 2:14 PMdavid_tout
06/24/2021, 2:20 PMdavid_tout
06/25/2021, 4:34 AMdavid_tout
06/25/2021, 4:36 AMvisch
06/25/2021, 1:46 PMdouwe_maan
06/28/2021, 1:55 PM