casey
07/05/2021, 4:25 PM0 4 * * *, but even though they show up when I execute meltano schedule list ...
root@ledp-vm:/project# meltano schedule list
[0 4 * * *] telemetry-el: tap-postgres--telemetry → pipelinewise-target-bigquery--telemetry x transforms
[0 4 * * *] kdp-el: tap-postgres--kdp → pipelinewise-target-bigquery--kdp x transforms
[0 4 * * *] studio-el: tap-postgres--studio → pipelinewise-target-bigquery--studio x transforms
nothing ever runs. The job table is also completely empty, and there are no logs under .meltano/logs/elt . Also, in the Meltano UI, under pipelines, the drop-down menus are blank, though I'd expect them to be populated with the scheduled time:douwe_maan
07/05/2021, 4:26 PMcasey
07/05/2021, 4:29 PMcasey
07/05/2021, 4:29 PMdouwe_maan
07/05/2021, 4:30 PMcasey
07/05/2021, 4:30 PMroot@ledp-vm:/project# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 33200 24004 ? Ss Jul03 0:00 python entrypoint.py
root 173 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 174 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 750 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 751 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 897 0.0 0.1 297468 104432 ? Sl Jul03 0:03 /usr/local/bin/python /usr/local/bin/meltano -v ui
root 903 0.0 0.0 63276 51008 ? S Jul03 0:27 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid <http://meltano.api.app:create_app()|meltano.api.app:create_app()>
root 906 0.0 0.1 140800 96244 ? S Jul03 0:19 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid <http://meltano.api.app:create_app()|meltano.api.app:create_app()>
root 907 0.0 0.1 143268 98724 ? S Jul03 0:20 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid <http://meltano.api.app:create_app()|meltano.api.app:create_app()>
root 908 0.0 0.1 143400 98888 ? S Jul03 0:21 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid <http://meltano.api.app:create_app()|meltano.api.app:create_app()>
root 909 0.0 0.1 143348 98792 ? S Jul03 0:22 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid <http://meltano.api.app:create_app()|meltano.api.app:create_app()>
root 910 0.0 0.0 5744 3648 pts/0 Ss 16:03 0:00 /bin/bash
root 952 0.0 0.0 9388 2996 pts/0 R+ 16:29 0:00 ps auxcasey
07/05/2021, 4:30 PMdouwe_maan
07/05/2021, 4:31 PMcasey
07/05/2021, 4:32 PMmeltano ui will not start the native meltano orchestrator?douwe_maan
07/05/2021, 4:33 PMdouwe_maan
07/05/2021, 4:33 PMmeltano schedule , it doesn’t actually run themcasey
07/05/2021, 4:49 PMmeltano invoke airflow scheduler and things sprang to life. But when I tried to switch to LocalExecutor it didn't like that:
```root@ledp-vm:/project# export AIRFLOW__CORE__EXECUTOR=LocalExecutor
root@ledp-vm:/project# meltano invoke airflow scheduler &> /project/.meltano/logs/airflow_scheduler.log &
[1] 2009
root@ledp-vm:/project# tail -f .meltano/logs/airflow_scheduler.log
'StrictVersion' object has no attribute 'version'
^C
[1]+ Exit 1 meltano invoke airflow scheduler &> /project/.meltano/logs/airflow_scheduler.log
root@ledp-vm:/project# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 33200 24004 ? Ss Jul03 0:00 python entrypoint.py
root 173 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 174 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 750 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 751 0.0 0.0 0 0 ? Z Jul03 0:00 [pg_config] <defunct>
root 897 0.0 0.1 297468 104432 ? Sl Jul03 0:03 /usr/local/bin/python /usr/local/bin/meltano -v ui
root 903 0.0 0.0 63276 51008 ? S Jul03 0:28 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid meltano.api.app:create_app()
root 906 0.0 0.1 143308 98768 ? S Jul03 0:20 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid meltano.api.app:create_app()
root 907 0.0 0.1 143412 98724 ? S Jul03 0:22 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid meltano.api.app:create_app()
root 908 0.0 0.1 143400 98888 ? S Jul03 0:21 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid meltano.api.app:create_app()
root 909 0.0 0.1 143348 98792 ? S Jul03 0:24 /usr/local/bin/python /usr/local/bin/gunicorn --config python:meltano.api.wsgi --pid /project/.meltano/run/gunicorn.pid meltano.api.app:create_app()
root 910 0.0 0.0 5744 3656 pts/0 Ss 16:03 0:00 /bin/bash
root 989 0.8 0.0 0 0 pts/0 Z 16:37 0:04 [airflow] <defunct>
root 1911 0.0 0.0 0 0 pts/0 Z 16:44 0:00 [airflow schedul] <defunct>
root 2020 0.0 0.0 9388 3056 pts/0 R+ 16:47 0:00 ps aux
root@ledp-vm:/project# meltano invoke airflow scheduler
'StrictVersion' object has no attribute 'version'
root@ledp-vm:/project# export AIRFLOW__CORE__EXECUTOR=SequentialExecutor
root@ledp-vm:/project# meltano invoke airflow scheduler
____________ _____________
__ |__( )_________ / /________ __
__ /| |_ /__ ___/_ /_ _ / _ \ | /| / /
_ _ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
[2021-07-05 164824,372] {init.py:50} INFO - Using executor SequentialExecutor
[2021-07-05 164824,382] {scheduler_job.py:1350} INFO - Starting the scheduler
[2021-07-05 164824,382] {scheduler_job.py:1358} INFO - Running execute loop for -1 seconds
[2021-07-05 164824,382] {scheduler_job.py:1359} INFO - Processing each file at most -1 times
[2021-07-05 164824,383] {scheduler_job.py:1362} INFO - Searching for files in /project/orchestrate/dags
[2021-07-05 164824,383] {scheduler_job.py:1364} INFO - There are 1 files in /project/orchestrate/dags
[2021-07-05 164824,383] {scheduler_job.py:1421} INFO - Resetting orphaned tasks for ac…casey
07/05/2021, 4:50 PMdouwe_maan
07/05/2021, 4:51 PMdouwe_maan
07/05/2021, 4:52 PMcasey
07/05/2021, 4:54 PMAIRFLOW__CORE__SQL_ALCHEMY_CONN in the env.douwe_maan
07/05/2021, 4:56 PMcasey
07/05/2021, 5:06 PMcasey
07/05/2021, 5:06 PMcasey
07/05/2021, 5:07 PMroot@ledp-vm:/project# meltano invoke airflow scheduler
[2021-07-05 17:03:07,489] [2184|MainThread|meltano.cli.invoke] [ERROR] The 'initdb' command is deprecated and removed in Airflow 2.0, please use 'db init' instead
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
Traceback (most recent call last):
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/base.py", line 162, in _catch_revision_errors
yield
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/base.py", line 364, in _upgrade_revs
revs = list(revs)
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 765, in _iterate_revisions
requested_lowers = self.get_revisions(lower)
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 319, in get_revisions
return sum([self.get_revisions(id_elem) for id_elem in id_], ())
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 319, in <listcomp>
return sum([self.get_revisions(id_elem) for id_elem in id_], ())
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 324, in get_revisions
for rev_id in resolved_id
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 324, in <genexpr>
for rev_id in resolved_id
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.7/site-packages/alembic/script/revision.py", line 397, in _revision_for_ident
resolved_id,
alembic.script.revision.ResolutionError: No such revision or branch 'd135f52a6f49'douwe_maan
07/05/2021, 5:08 PMdouwe_maan
07/05/2021, 5:08 PMcasey
07/05/2021, 5:14 PMalembic_version used by Meltano?douwe_maan
07/05/2021, 5:16 PMdouwe_maan
07/05/2021, 5:16 PMcasey
07/05/2021, 5:17 PMcasey
07/05/2021, 6:21 PMdouwe_maan
07/05/2021, 6:40 PM