【问题标题】:Azure pipeline run status queuedAzure 管道运行状态排队
【发布时间】:2019-08-01 09:27:16
【问题描述】:

我是 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;
            }

【问题讨论】:

    标签: azure-data-factory


    【解决方案1】:

    您应该尝试查看 IR 的诊断日志,它确实包含有价值的信息,应该会有所帮助。

    导航到 IR -> 诊断日志或打开事件查看器 -> 应用程序和服务日志 ->

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-03
      • 2021-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-17
      • 2021-07-15
      相关资源
      最近更新 更多