aaronsteers
11/13/2019, 8:44 PM.meltano directory, since this directory is hidden from git and not exposed to source control?yannis_roussos
11/13/2019, 8:45 PMyannis_roussos
11/13/2019, 8:45 PMaaronsteers
11/13/2019, 8:45 PMyannis_roussos
11/13/2019, 8:46 PMmeltano installaaronsteers
11/13/2019, 11:11 PMmeltano install seems to be doing the trick. Previously I was getting messages like the below, and there were no venv folders under .meltano.
For reference, the below is what I was seeing without the install command:
Failed to start plugin <meltano.core.plugin.singer.tap.SingerTap object at 0x7f32278799d0>.
before_invoke hook 'run_discovery_hook' has failed: [Errno 2] No such file or directory: '/projects/meltano-project/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce': '/projects/meltano-project/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce'
Thanks!aaronsteers
11/13/2019, 11:14 PMmeltano upgrade also work for this purpose?
(2) would I also run meltano install/upgrade if I'm not 100% sure everything is properly installed - for instance, if my container might have been killed after partial install?
These are relevant because I notice meltano install takes quite a long time to execute.aaronsteers
11/13/2019, 11:44 PMmeltano upgrade does not appear to work, as it appears to upgrade just meltano itself (via pip) and does not install the virtual environments for the plugins
(2) subsequent calls to meltano install appear to start over from scratch, re-installing all software, and can take over 20+ minutes to complete. as such, this isn't easily rerunnable and should probably only be executed by exception, or when .meltano folder is missing.
Happy to be corrected if any of the above are mistaken. Thanks!aaronsteers
11/14/2019, 12:13 AMmeltano install. Duration was 41 minutes when using salesforce and postgres. Is it expected that this would take so long, and is there anything on the roadmap to reduce this or run them in parrallel?
Wed Nov 13 23:22:25 UTC 2019
Installed 'tap-salesforce'.
Installed 'target-postgres'.
Installed 'airflow'.
Installed 'dbt'.
4/4 plugins installed.
Install complete Thu Nov 14 00:03:47 UTC 2019yannis_roussos
11/14/2019, 12:21 PMmeltano install is the way to go.
At the moment it installs everything and should not take more than a minute or two for the 4 packages above.
Most probably something is not properly running on your environment. Do you have enough memory / bandwidth?yannis_roussos
11/14/2019, 12:25 PMpip installaaronsteers
11/15/2019, 3:41 AMmeltano install is taking so much longer on my machine is that I am using the new WSL2 Backend for docker (using the latest Windows insider builds and the latest Edge version of Docker Desktop). My project folder is hosted on windows and shared as a volume to the linux container. Anyway, there are apparently known performance issues related to WSL performance when running linux apps on Windows filesystem and those issue would explain the much slower performance I'm seeing during installs.
At least in initial builds ow WSL2, the recommendation from Microsoft is to host the files on the Linux filesystem, which is now also accessible from Windows. Since the older/stable Docker Desktop backend is Windows-based, I could also try reverting to the non-WSL version of the Docker backend.
Refs:
- https://docs.microsoft.com/en-us/windows/wsl/wsl2-ux-changes#place-your-linux-files-in-your-linux-root-file-system
- https://docs.microsoft.com/en-us/windows/wsl/wsl2-ux-changes#cross-os-file-speed-will-be-slower-in-initial-preview-buildsyannis_roussos
11/15/2019, 8:54 AMaaronsteers
11/18/2019, 7:19 PMmeltano install on Windows Docker over WSL2. The install process now just takes a few (5 to 7) minutes to complete instead of 40+.