自动执行Azure Datafactory中失败活动的重新运行过程。 [英] Automate the Re-Run process for the failed activities in Azure Datafactory.

查看:125
本文介绍了自动执行Azure Datafactory中失败活动的重新运行过程。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经部署了一个包含多个管道的Azure数据工厂。触发后,其中一些管道失败,可以手动重新运行,但是我已经看完了视频。  https://www.youtube.com/watch?v=raql6x5AAlc&list=PLlrxD0HtieHhgeNIsaLjX-iXg0wXzUdtI&index= 20  
  视频5:00分钟

I have deployed a Azure Data Factory with several pipelines in it.After triggering it some of them are failed and they can be re-rerun manually, but I have gone through the video. https://www.youtube.com/watch?v=raql6x5AAlc&list=PLlrxD0HtieHhgeNIsaLjX-iXg0wXzUdtI&index=20   at 5:00 minute of video.

它表示重新运行失败的管道
的手动过程可以使用sdk,python sdk,arm模板,powershell命令,rest api自动执行。

请指导我自动化自动化的过程。
如果有任何帖子/视频样本可以使用就可以了与此相关只是让我知道。

Please guide me to automate the process to automate. If there are any posts/ video samples to work on it  related to it just let me know.

提前致谢






推荐答案

您好Jaswanth,

Hi Jaswanth,

如果您正在寻找如何使用SDK重新运行失败的管道/ Powershell,您可以使用SDK或Powershell监控管道运行,然后继续检查管道执行状态。为此,请浏览以下文档(每个1美元用于
SDK和powershell):

If you are looking for how to rerun a failed pipeline using SDKs/Powershell, you can monitor a pipeline run using either SDKs or Powershell and then keep checking for the pipeline execution status. To do so, please go through the following docs (1 each for SDKs and powershell):

https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create- data-factory-rest-api#monitor-pipeline

https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-powershell#监控管道运行

https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-dot-net#监控管道运行

HTTPS://文档。 microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-resource-manager-template#monitor-the-pipeline

https://docs.microsoft。 com / zh-CN / azure / data-factory / quickstart-create-data-factory-python#monitor-a-pipeline-run

遇到管道运行后with  " status"
" Failed",你可以有一个逻辑来重新运行管道。请查看上面文档中的"创建管道运行"选项卡
同样。

Once you encounter a pipeline run with "status": "Failed" ,you can have a logic to rerun the pipeline. Please have a look at "Create a pipeline run" tab in the docs above for the same.

希望这会有所帮助。


这篇关于自动执行Azure Datafactory中失败活动的重新运行过程。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆