google-cloud-dataflow - DataflowRunner pipeline error - Unable to rename
问题描述
My DataFlow job reads one CSV file from GS bucket, query another service for extra data and writing it to a new CSV file and storing back to the bucket but it seems to fall before it grabs the input CSV file at the start...
This is the error I get:
DataflowRuntimeException - Dataflow pipeline failed. State: FAILED, Error:
Unable to rename "gs://../../job.1582402027.233469/dax-tmp-2020-02-22_12_07_49-5033316469851820576-S04-0-1719661b275ca435/tmp-1719661b275ca2ea-shard--try-273280d77b2c5b79-endshard.avro" to "gs://../../temp/job.1582402027.233469/tmp-1719661b275ca2ea-00000-of-00001.avro".
Any ideas what is the cause for this error?
解决方案
通常,该错误是由于您在 DataFlow 作业中使用的服务帐户没有正确的 GCS(Google 云存储)权限。
您应该向服务帐户添加类似“ roles/storage.objectAdmin ”的角色,以允许与 GCS 交互。
推荐阅读
- yocto - 由于软件包安装导致的 do_rootfs 错误
- php - MAMP 和 CodeIgniter - 简单表单帖子返回致命错误:未捕获错误:未找到类“CI_Controller”
- reactjs - 为什么我的反应代码什么都不做?它没有更新 DOM
- typescript - 打字稿:构造引用自身的对象的最佳方法
- javascript - 由于 CSS,Cookie 没有保存背景颜色
- java - 使用 mapstruct 进行映射:错误:(22,48)java:参数“quote”的类型没有名为“quote_type”的属性
- typescript - 在打字稿模块声明中重新导出符号
- matlab - 从线中提取有序点
- python - 我的功能有什么问题?使用 numpy 和 networkx 查找最短路径
- html - 样式导航栏,CSS代码在使用类时不起作用