gpt4 book ai didi

google-cloud-dataflow - 谷歌数据流挂起,没有日志

转载 作者:行者123 更新时间:2023-12-01 02:02:22 25 4
gpt4 key购买 nike

当我跑 example WordCount job来自带有 *DataflowPipelineRunner 的 Dataflow 文档,它启动工作程序,然后挂起状态为 Running。

最后两条状态消息:

Jan 29, 2016, 22:05:50
S02: (b959a12901787f4d): Executing operation ReadLines+WordCount.CountWords/ParDo(ExtractWords)+WordCount.CountWords/Count.PerElement/Init+WordCount.CountWords/Count.PerElement/Count.PerKey/GroupByKey+WordCount.CountWords/Count.PerElement/Count.PerKey/Combine.GroupedValues/Partial+WordCount.CountWords/Count.PerElement/Count.PerKey/GroupByKey/Reify+WordCount.CountWords/Count.PerElement/Count.PerKey/GroupByKey/Write

Jan 29, 2016, 22:06:42
(c3fc1276c0229a41): Workers have started successfully.

就是这样。当我单击“工作日志”时,它完全是空的。它保持这种状态至少 20 分钟。

它适用于 DirectPipelineRunner(在几秒钟内完成并在我的 gs://... 上创建输出文件)。

我应该看什么?

命令行参数:
--project=my-project
--stagingLocation=gs://my-project/dataflow/staging

最佳答案

不显示日志的一个常见原因是尚未启用 Cloud Logging API。如果 getting started guide 中列出的所有 API未启用,那么它可能会导致您描述的两个问题(没有日志记录和挂起 worker )。

尝试再次浏览入门指南并启用所有相关 API。

关于google-cloud-dataflow - 谷歌数据流挂起,没有日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35098770/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com