简体   繁体   English

azure 数据工厂(“复制活动管道”)多个并发复制活动运行时遇到错误

[英]Facing error in azure data factory ("copy activity pipeline") multiple concurrent copy activities runs

Iam facing issue in the copy activity pipeline我在复制活动管道中面临问题

Operation on target... : Operation on target.....failed: Failure happened on 'Sink' side. Operation on target... : Operation on target ..... failed: 故障发生在'Sink'端。 ErrorCode=AdlsGen2OperationFailedConcurrentWrite,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error occurred when trying to upload a file. ErrorCode=AdlsGen2OperationFailedConcurrentWrite,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=尝试上传文件时发生错误。 It's possible because you have multiple concurrent copy activities runs writing to the same file '...folder path...'.这是可能的,因为您有多个并发复制活动运行写入同一文件“...文件夹路径...”。 Check your ADF configuration.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.Azure.Storage.Data.Models.ErrorSchemaException,Message=Operation returned an invalid status code 'PreconditionFailed',Source=Microsoft.DataTransfer.ClientLibrary,'检查您的 ADF 配置。,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.Azure.Storage.Data.Models.ErrorSchemaException,Message=Operation 返回无效状态代码 'PreconditionFailed',Source=Microsoft.DataTransfer.ClientLibrary, '

Please help me to rectify this error请帮我纠正这个错误

The message in the above error is,上述错误中的消息是,

Message=Error occurred when trying to upload a file. Message=尝试上传文件时发生错误。 It's possible because you have multiple concurrent copy activities runs writing to the same file '...folder path...'.这是可能的,因为您有多个并发复制活动运行写入同一文件“...文件夹路径...”。 Check your ADF configuration检查您的 ADF 配置

As per the Official Documentation , the cause of this is,根据Official Documentation ,其原因是,

You have multiple concurrent copy activity runs or applications writing to the same file.您有多个并发复制活动运行或写入同一文件的应用程序。

So, there is a possibility that you are having multiple copy activities running in your pipeline on the same destination file which causing this error.因此,您的管道中有可能在同一个目标文件上运行多个复制活动,从而导致此错误。
Please check the sink datasets of all the copy activities in your pipeline and try to change the destination according to your requirement.检查管道中所有复制活动的接收器数据集,并尝试根据您的要求更改目标。

If you have only one copy activity in your pipeline, this error may occur if you set multiple triggers on this in which any two triggers running the pipeline at the same time.如果您的管道中只有一个复制活动,如果您对此设置了多个触发器,其中任意两个触发器同时运行管道,则可能会发生此错误。 In that scenario, please set the concurrency limit of the pipeline to 1 which can control concurrent execution.在那种情况下,请将管道的并发限制设置为1,以控制并发执行。 You can find it in the pipeline settings.您可以在管道设置中找到它。

在此处输入图像描述

Also, please check if any of your other pipelines having copy activity running on same time with same file as destination.此外,请检查是否有任何其他管道在同一时间运行复制活动,并将同一文件作为目标。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM