Dataflow Service帐户无法访问Dataflow worker子网

时间:2018-05-13 04:58:12

标签: google-cloud-platform google-cloud-dataflow

当我在Dataflow上运行作业时,我收到错误。

INFO: 2018-05-13T04:43:38.642Z: Checking required Cloud APIs are enabled.
May 13, 2018 11:44:09 AM org.apache.beam.runners.dataflow.util.MonitoringUtil$LoggingHandler process
INFO: 2018-05-13T04:43:38.927Z: Checking permissions granted to controller Service Account.
May 13, 2018 11:44:09 AM org.apache.beam.runners.dataflow.util.MonitoringUtil$LoggingHandler process
SEVERE: 2018-05-13T04:43:51.378Z: Workflow failed. Causes: Subnetwork regions/asia-southeast1/subnetworks/SUBNETWORK is not accessible to Dataflow Service account
May 13, 2018 11:44:09 AM org.apache.beam.runners.dataflow.util.MonitoringUtil$LoggingHandler process
INFO: 2018-05-13T04:43:53.038Z: Cleaning up.

我的命令行

mvn compile -X exec:java -Dexec.mainClass=com.to.class \
"-Dexec.args=--runner=DataflowRunner \
...
--network=NETWORKNAME \
--subnetwork=regions/asia-southeast1/subnetworks/SUBNETWORK \
--zone=asia-east1-a \
--region=asia-east1 \
" -Pdataflow-runner

0 个答案:

没有答案