【发布时间】:2020-03-06 16:19:44
【问题描述】:
我正在尝试基于以下 github 存储库重现以下架构:https://github.com/Azure/cortana-intelligence-price-optimization
问题是链接到 ADF 的部分,因为在指南中它使用旧版本的 ADF:我不知道如何在 ADF v2 中映射单个活动的“输入”和“输出”属性,所以它们指向一个数据集。
管道执行一个 spark 活动,它只执行一个 python 脚本,然后我认为它应该将数据写入我已经定义的数据集中。
这是指南中 ADF V1 管道的 json,我无法复制:
"activities": [
{
"type": "HDInsightSpark",
"typeProperties": {
"rootPath": "adflibs",
"entryFilePath": "Sales_Data_Aggregation_2.0_blob.py",
"arguments": [ "modelsample" ],
"getDebugInfo": "Always"
},
"outputs": [
{
"name": "BlobStoreAggOutput"
}
],
"policy": {
"timeout": "00:30:00",
"concurrency": 1,
"retry": 1
},
"scheduler": {
"frequency": "Hour",
"interval": 1
},
"name": "AggDataSparkJob",
"description": "Submits a Spark Job",
"linkedServiceName": "HDInsightLinkedService"
},
【问题讨论】:
标签: azure pipeline azure-data-factory azure-hdinsight azure-data-factory-2