Closed pebabion closed 3 years ago
hi @kelvin1794 , the error above happens when you launch the job a second time on the interactive cluster?
@renardeinside yes, that's right.
But I have found a workaround: add 2 more step in GitHub actions workflow - first uninstall all the libraries on the cluster, then second restart the cluster.
After that, it can install the package just fine.
hi @kelvin1794,
Unfortunately, this is not directly related to dbx or cicd-templates, it's more of a way how cluster libraries are working with updates (it's not possible to reinstall the same library). I would recommend using dbx execute
on interactive clusters, and use dbx launch
on automated ones.
Thank you, @renardeinside
Environment:
I followed the
cookiecutter
template and successfully ran it the first time. However, on the second CI/CD run, it's stuck at the stepInstalling libraries
.For this, I'm using an existing cluster id instead of new cluster for each CI/CD run. When I check the cluster, I saw that the library was installed (during the 1st run) and now it's trying to install the same library again.
How should we avoid this situation?