【发布时间】:2017-08-16 02:54:35
【问题描述】:
我有以下 Azure 数据工厂设置:
链接服务:
"name": "AzureStorageLinkedService",
"properties": {
"description": "",
"hubName": "***",
"type": "AzureStorage",
"typeProperties": {
"connectionString": "DefaultEndpointsProtocol=https;AccountName=***;AccountKey=**********;EndpointSuffix=core.windows.net"
}
}
数据集:
输入:
{
"name": "AzureBlobDatasetTemplate",
"properties": {
"published": false,
"type": "AzureBlob",
"linkedServiceName": "AzureStorageLinkedService",
"typeProperties": {
"folderPath": "app-insights/************/PageViews/{Slice}/{Hour}",
"format": {
"type": "JsonFormat"
},
"partitionedBy": [
{
"name": "Slice",
"value": {
"type": "DateTime",
"date": "SliceStart",
"format": "yyyy-MM-dd"
}
},
{
"name": "Hour",
"value": {
"type": "DateTime",
"date": "SliceStart",
"format": "HH"
}
}
]
},
"availability": {
"frequency": "Minute",
"interval": 15
},
"external": true,
"policy": {}
}
}
输出:
{
"name": "AzureTableDatasetTemplate",
"properties": {
"published": false,
"type": "AzureTable",
"linkedServiceName": "AzureStorageLinkedService",
"typeProperties": {
"tableName": "HelloWorld"
},
"availability": {
"frequency": "Minute",
"interval": 15
}
}
}
管道
{
"name": "PipelineTemplate",
"properties": {
"description": "Application Insight",
"activities": [
{
"type": "Copy",
"typeProperties": {
"source": {
"type": "BlobSource"
},
"sink": {
"type": "AzureTableSink",
"writeBatchSize": 0,
"writeBatchTimeout": "00:00:00"
}
},
"inputs": [
{
"name": "AzureBlobDatasetTemplate"
}
],
"outputs": [
{
"name": "AzureTableDatasetTemplate"
}
],
"policy": {
"timeout": "1.00:00:00",
"concurrency": 1,
"retry": 3
},
"scheduler": {
"frequency": "Minute",
"interval": 15
},
"name": "CopyActivityTemplate"
}
],
"start": "2014-05-01T00:00:00Z",
"end": "2018-05-01T00:00:00Z",
"isPaused": false,
"hubName": "datafactorypocjspi_hub",
"pipelineMode": "Scheduled"
}
}
blob 存储中的数据来自 Application Insights 连续导出。
我的目的是让整个设置像这样工作:
- Application Insights 使用持续导出(已完成且正在运行)导出数据并执行 blob 存储
- Azure 数据工厂将数据从 Blob 存储移动到 Azure 表存储(在该过程中需要计算分区键和行键,我还没有进入该部分,因为我在复制过程中被卡住了)
使用当前设置,我所有的活动运行都停留在“等待:数据集依赖项未准备好”状态:
我能找到的唯一附加信息是活动的状态描述:上游依赖项尚未准备好。
我在这里缺少什么?似乎连接到 blob 存储时出现问题。我已经仔细检查了连接字符串,文件夹路径似乎也是按顺序排列的:
【问题讨论】: