我在 Databricks 中创建了一个作业,并配置为使用启用单用户访问并使用 github 作为源的集群。当我尝试运行该作业时,出现以下错误 -
run failed with error message Unable to access the notebook "databricks/notebooks/loaders/pubsub_streaming". Either it does not exist, or the identity used to run this job, [email protected] ([email protected]), lacks the required permissions.
我已确认链接正确。另外,我已在相同的 databricks 环境中导入此存储库,并且可以直接成功运行相应的笔记本(从工作外部)
这里可能缺少什么权限?
发生错误的原因是文件中没有任何标头可将其视为笔记本。添加以下标头就可以了-
# Databricks notebook source
令人惊讶的是,错误消息没有传达任何有用的信息