azure-data-factory - Azure 管道运行状态排队
问题描述
我是 Azure 环境的新手。我已经使用 .net 核心编写了一些代码,这些代码使用 Azure 数据工厂启动 Azure 管道。从我的本地尝试时管道运行状态的状态始终为成功。我在天蓝色环境中部署了代码。当尝试从 azure 服务器启动管道时,状态总是排队。什么是排队状态以及我必须处理它。有人可以帮忙吗?我是否需要更改 azure 中的任何设置,以便管道运行成功
AuthenticationContext context = new AuthenticationContext("https://login.windows.net/" + tenantID);
ClientCredential cc = new ClientCredential(applicationId, authenticationKey);
AuthenticationResult result = context.AcquireTokenAsync("https://management.azure.com/", cc).Result;
ServiceClientCredentials cred = new TokenCredentials(result.AccessToken);
var client = new Microsoft.Azure.Management.DataFactory.DataFactoryManagementClient(cred) { SubscriptionId = subscriptionId };
CreateRunResponse runResponse = client.Pipelines.CreateRunWithHttpMessagesAsync(resourceGroup, dataFactoryName, pipelineName).Result.Body;
string RunId = runResponse.RunId;
PipelineRun pipelineRun;
while (true)
{
pipelineRun = client.PipelineRuns.Get(resourceGroup, dataFactoryName, runResponse.RunId);
if (pipelineRun.Status == "InProgress")
System.Threading.Thread.Sleep(15000);
else
break;
}
解决方案
您应该尝试查看 IR 的诊断日志,它确实有有价值的信息,应该会有所帮助。
导航到 IR -> 诊断日志或打开事件查看器 -> 应用程序和服务日志 ->
推荐阅读
- google-app-engine - 如何将 Cloud Armor 与 GAE Flex 结合使用?
- ajax - laravel:ajax请求没有可用的响应
- javascript - attr 内的变量。无法通过
- kubernetes - 在 Kubernetes 上自动化安全 CockroachDB 部署
- flutter - 我想使用颤振从 rest api 在 DropDownButton 中显示数据
- python - 无法在 discord.py 的命令中打开和写入文件两次
- sql - 关于扩展事件的问题 - lock_acquired 和 lock_released
- excel - Excel MAC 2019 帮助比较单元格中的字符
- azure-active-directory - AAD 托管的 Blazor Webassembly - 当用户是大量组的成员时如何获取用户 AD 组的子集
- sql - 打印列中仅出现一次的值