简体   繁体   English

Azure 数据工厂 - Azure 数据湖 Gen1 访问

[英]Azure Data Factory - Azure Data Lake Gen1 access

A file is being added by the Logic Apps to the Data Factory V2 I have a Data Factory that access 'data lake gen 1' to process the file.逻辑应用程序正在将文件添加到数据工厂 V2 我有一个数据工厂,可以访问“数据湖 gen 1”来处理文件。 I receive the following error, when I try to debug the data factory after file is added.添加文件后尝试调试数据工厂时收到以下错误。

 "ErrorCode=FileForbidden,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Failed to read a 'AzureDataLakeStore' file. File path: 'Stem/Benchmark/DB_0_Measures_1_05052020 - Copy - Copy - rounded, date changed - Copy (3).csv'.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=The remote server returned an error: (403) Forbidden.,Source=System,'",

When I "Apply to children" after next load permission, error is gone.当我在下一次加载许可后“应用于儿童”时,错误消失了。 Tried so far: - Assigned permission in Data Lake for the Data Factory and it`s children.到目前为止尝试过: - 在数据湖中为数据工厂及其子项分配了权限。

  • Assigned permission in Data Lake Folder for the Data Factory and it's children.在数据湖文件夹中为数据工厂及其子项分配了权限。
  • Added data factory as a contributor to data lake.添加数据工厂作为数据湖的贡献者。
  • Added data factory as an owner to data lake.将数据工厂作为所有者添加到数据湖。
  • Allowed "all Azure services to access this Data Lake Storage Gen1 account".允许“所有 Azure 服务访问此 Data Lake Storage Gen1 帐户”。

After all tries, still need manually to "apply permission to children" for each file added.经过所有尝试,仍然需要手动为每个添加的文件“应用权限给孩子”。

Is there anyway to fix this?有没有什么办法解决这一问题?

Can reproduce your error:可以重现您的错误:

在此处输入图像描述

This is how I resolve:我就是这样解决的:

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

And my account is the owner of the data lake gen1.我的帐户是数据湖 gen1 的所有者。 The datafactory is the contributor of the data lake gen1.数据工厂是数据湖 gen1 的贡献者。

在此处输入图像描述

you need to give Read + Execute Access on parent folders and then do what @Bowman Zhu mentioned above.您需要在父文件夹上授予读取 + 执行权限,然后执行上面提到的@Bowman Zhu。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过 Azure Data Lake Store gen1 中的新文件触发 Azure Data Factory v2 或 Azure Databricks Notebook 中的管道 - How to trigger a pipeline in Azure Data Factory v2 or a Azure Databricks Notebook by a new file in Azure Data Lake Store gen1 如何重命名 Azure Data Lake Storage Gen1 帐户名称? - How to rename Azure Data Lake Storage Gen1 account name? 如何使用Jenkins上传到Azure Data Lake Storage Gen1? - How to use Jenkins to upload to Azure Data Lake Storage Gen1? 复制Azure Data Lake Gen1中的文件/文件夹 - Copy File/Folders in Azure Data Lake Gen1 从 Azure EventHubs Capture 生成的 Azure Data Lake Gen1 使用 Databricks 读取 avro 数据失败 - Reading avro data with Databricks from Azure Data Lake Gen1 generated by Azure EventHubs Capture fails 从 Databricks 笔记本中的 Azure Data Lake Storage Gen1 获取嵌套文件夹的大小 - Fetch the size of nested folder from Azure Data Lake Storage Gen1 from Databricks notebook 使用Azure Data Lake Store Gen1中的SSIS包将文件从一个目录移动到另一个目录 - Move Files from one directory to another using SSIS Package in Azure Data Lake Store Gen1 Azure Data Lake Storage Gen1 元数据(在文件夹结构和大小信息方面)到 Power BI - Azure Data Lake Storage Gen1 Metadata ( in terms of folder structure and size information) into Power BI Azure Data Lake Storage (gen1) 帐户名称和存储帐户密钥是什么? - What is the Azure Data Lake Storage (gen1) account name and storage account key? Azure 数据工厂:数据湖访问权限 - Azure Data Factory: Data Lake Access Permissions
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM