python - 由于区域 + 区域限制,无法运行 Dataflow 作业
问题描述
我们的数据和网络配置在北美-东北地区。
我们想要运行数据流作业来处理我们的输入文件并加载到 BigQuery 表中。我们的存储和 BigQuery 也配置在同一个区域 northamerica-northeast1。
但是,当我们运行作业时:我们收到以下错误 -
The workflow could not be created, since it was sent to an invalid or unreleased region. Please resubmit with a valid region.",
我们将以下参数传递给我们的数据流作业:--region northamerica-northeast1 --zone northamerica-northeast1-a
现在按照以下 KB - https://cloud.google.com/dataflow/docs/concepts/regional-endpoints Dataflow 在北美-northeast1 中没有区域端点。但是我们可以覆盖该区域。
关于我们如何做同样事情的任何帮助。那么我们如何在北美-东北1 运行这项工作。
解决方案
您可以查看此表https://cloud.google.com/dataflow/docs/concepts/regional-endpoints#commonscenarios。对于您在下面提到的情况,必须完成设置
I need worker processing to occur in a specific region that does not have a regional endpoint.
Specify both --region and --zone.
Use --region to specify the supported regional endpoint that is closest to the zone where the worker processing must occur. Use --zone to specify a zone within the desired region where worker processing must occur.
推荐阅读
- r - 如何根据 2 个聚合列从 R 中的另一列中减去 1 列
- c++ - 在 C 或 C++ 中将字符串重新分配给字符指针
- reactjs - ReactJS 对 LTS 的支持期限是多久?
- javascript - 如何从 powershell 脚本运行节点 js 脚本并在 powershell 脚本中使用节点 js 脚本的输出?
- python - 从最近 n 小时更新的 FTP 服务器下载文件
- powershell - 用逗号将属性保存到 CSV
- python - Python:来自方程的矩阵指数
- php - Laravel 内置命令的 VS Code 中烦人的智能感知警告
- asp.net-mvc - Orchard CMS“Microsoft Azure 媒体存储”模块无法连接到新的存储帐户
- javascript - TypeError: Cannot read property 'send' of undefined . 当我遇到这样的错误并想保留当前设置时该怎么办