如何清除气流/合成器中使用CLI的dag运行状态?

编程入门 行业动态 更新时间:2024-10-17 12:31:58
本文介绍了如何清除气流/合成器中使用CLI的dag运行状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想我可以使用以下命令:

I thought I could use the command:

g beta composer environments run <env> --location=us-central1 clear -- <dag_id> -s 2018-05-13 -e 2018-05-14

清除dag的状态运行于2018-05-13。由于某种原因,它不起作用。发生的情况是CLI挂在一条消息上,例如:

the clear the state of the dag runs on 2018-05-13. For some reason it doesn't work. What happens is that the CLI hangs on a message like:

kubeconfig entry generated for <kube node name>.

上面命令的预期行为是什么?我希望它能清除间隔内的dag运行,但是我可能做错了。

What is the expected behavior of the command above? I would expect it to clear the dag run for the interval, but I might be doing something wrong.

推荐答案

运行 clear 要求您将 -c 参数添加到命令中,如下所示:

Running clear on Cloud Composer requires you to add -c parameter to the command like so:

g个beta编写器环境运行< env> --location = us-central1 clear-< dag_id> -c -s 2018-05-13 -e 2018-05-14

更多推荐

如何清除气流/合成器中使用CLI的dag运行状态?

本文发布于:2023-11-23 19:04:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1622549.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:气流   运行状态   器中   CLI   dag

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!