本文介绍了如何清除气流/合成器中使用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运行状态?
发布评论