@here getting error while using airflow scheduler ...
# getting-started
a
@here getting error while using airflow scheduler root@meltano-licensingeservice-156-402-868f7c67dc-kk7fx:/mel_v1# meltano install 2024-07-03T073654.821279Z [warning ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /meltano/api/v1/plugins/orchestrators/index 2024-07-03T073654.875173Z [warning ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /meltano/api/v1/plugins/orchestrators/index 2024-07-03T073654.930343Z [warning ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /meltano/api/v1/plugins/orchestrators/index Could not connect to Meltano Hub. Could not reach Meltano Hub.. Run
meltano discover orchestrator
to explore available plugins.
v
which version of meltano are you running, with lock files they shouldn't need to reach out to the hub anymore
a
2.20.0
v
try upgrading v3.0.0 requires lock files which will force you to fix this, another way with that version is to probably implement lock files. I'd just bump to the latest
a
Did airflow required internet in every execution of scheduler
v
With that version without lock files yes, if you upgrade or use lock files, no. Just upgrade it'll tell you to run something like
meltano lock
(it'll say in the error when you go to run) then you have to commit those lock files to your repo. Bam problem gone!
2
a
currently we are doing we create a meltano project with adding all files and command and running in a pod , where no internet is there
v
Trust me on this one @ashish_soni, upgrade to the latest version of meltano*. It'll force you to run meltano lock which will make it so internet won't be required
a
ok ok
dancingpenguin 1
How do we create lock file on current version 2.20 ? Is any way
v
https://docs.meltano.com/reference/command-line-interface/#lock I'm not sure which version introduced locking but this should do it
a
Extractor tap-cloudwatch_logs is a custom plugin Loader kafka-loader is a custom plugin Locked definition for orchestrator airflow Locked definition for file bundle files-airflow this i got when i run meltano lock --all
1
but i didn't find an lock file in meltano project
will this restrict meltano invoke airflow to stop scanning on internet ?
r
will this restrict meltano invoke airflow to stop scanning on internet ?
Yes.
but i didn't find an lock file in meltano project
They exist under the
plugins
directory in your project.
a
@Reuben (Matatika) @visch Thank You ! Problem Resolved
🙌 1