Azure Data Factory Aazure Databricks pipeline error

Bramha Naskari 20 Reputation points
2024-01-15T18:12:45.6566667+00:00

Hello Team,

I'm having below error,I have already verified all the connection which is correct I'm using existing cluster of databricks in my free subscription account.

Errror:
run failed with error message Unable to access the notebook "/PySpark_Scripts/xyz.py". Either it does not exist, or the identity used to run this job, Bramha Naskari, lacks the required permissions

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,174 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,678 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 89,386 Reputation points Microsoft Employee
    2024-01-16T01:48:27.3433333+00:00

    Bramha Naskari - Thanks for the question and using MS Q&A platform.

    It seems like the error message is indicating that the identity used to run the job lacks the required permissions to access the notebook. You may want to check if the user account you are using has the necessary permissions to access the notebook.

    You can try the following steps to troubleshoot the issue:

    Check if the notebook exists in the specified location "/PySpark_Scripts/xyz.py". If it does not exist, you may want to create the notebook or update the path to the correct location.

    Check if the user account you are using has the necessary permissions to access the notebook. You can verify this by checking the access control list (ACL) for the notebook. Make sure that the user account has the "Read" permission for the notebook.

    If you are using an existing cluster, make sure that the cluster has the necessary libraries installed to run the notebook. You can check the cluster configuration to verify if the required libraries are installed.

    If you are still facing issues, please confirm if you have configured with any source controller like Github/Devops and share more details about the job configuration for futher investigation.

    I hope this helps you resolve the issue. Let me know if you have any further questions.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.