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:ย 

Unable to run jobs with git notebooks

cblock
New Contributor III

So, in this case our jobs are deployed from our development workspace to our isolated testing workspace via an automated Azure DevOps pipeline. As such, they are created (and thus run as) a service account user.

Recently we made the switch to using git-based notebooks in our jobs from notebooks stored in the workspace itself. After granting the service account proper access to the repository, configuring it's git integration within the workspace, and turning repositories on for this workspace, we ran into the following error:

Failed to checkout Git repository: RESOURCE_DOES_NOT_EXIST: RESOURCE_DOES_NOT_EXIST: Parent directory /Repos/.internal does not exist.

Some other discussions in this community lead me to believe it is an internal databricks issue.

3 REPLIES 3

cblock
New Contributor III

As a workaround, I was able to get jobs to run in this workspace by first running a cloned copy of a failing job as myself. This seems to have created the missing resources/directories that the failed jobs required. Subsequent re-runs of the failed jobs under the service account have been successful.

Anonymous
Not applicable

Hi @Chris Blockโ€‹ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

cblock
New Contributor III

@Vidula Khannaโ€‹ As I stated previously in my reply, I was able to work around the issue. I do not think that the workaround constitutes a solution, so I do not believe it should be marked as the proper resolution of the issue.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group