cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

DAB git - sometimes doesn't see modules

pepco
New Contributor II

We are using DABs to deploy our jobs. DABs have source set to git branch or git tag depending on the environment.  Repository is structured in mono repo fashion. We don't use wheels for our modules. Sometimes when the jobs run they "randomly" fail that some module is not found; i.e. "ModuleNotFoundError: No module named 'lib'". The restart runs without any issues. 

I'm trying to understand what's happening, but it looks like PYTHONPATH is sometimes not set correctly. 

Did anyone see this behavior?

1 REPLY 1

Sumit_7
Honored Contributor III

@pepco Would you mind sharing your DAB yaml (hiding secrets)?