为什么我的Azure数据工厂存储过程在30分钟后才会出现问题?

时间:2018-03-06 19:41:16

标签: azure stored-procedures timeout azure-data-factory-2

为什么我的Azure数据工厂存储过程会在30分钟后暂停?

以下是Azure SQL链接服务定义:

{
    "properties": {
        "type": "AzureSqlDatabase",
        "typeProperties": {
            "connectionString": {
                "type": "SecureString",
                "value": "Server=tcp:db1.database.windows.net,1433;Database=myDb;User ID=User;Password=***;Trusted_Connection=False;Encrypt=True;Connection Timeout=120"
            }
       },
        "connectVia": {
            "type": "integrationRuntimeReference",
            "referenceName": "shir-01"
        }
    },
    "name": "LinkedService"
}

而且,这是管道定义:

{
    "name": BulkLoad11_Pipeline",
    "properties": {
                "activities": [
                {
                "name": "BulkLoad",
                        "type": "SqlServerStoredProcedure",
                        "policy": {
                    "timeout": {
                "value": "1.00:00:00",
                        "type": "Expression"
                    },
                    "retry": 0,
                    "retryIntervalInSeconds": 30
                },
                "typeProperties": {
                    "storedProcedureName": "[dbo].[BulkLoad]",
                    "storedProcedureParameters": {
                        "FileName": {
                            "value": "FILE11",
                            "type": "String"
                        }
                    }
                },
                "linkedServiceName": {
                    "referenceName": "LinkedService",
                    "type": "LinkedServiceReference"
                }
            }
        ]
    }
}

当我触发管道时,它在30分钟时因TimeOut错误而失败:

Activity BulkLoad failed: Execution Timeout Expired.  The timeout period
elapsed prior to completion of the operation or the server is not responding.

0 个答案:

没有答案