What could be the reason for that?

When running a pipeline that has a BigQuery source, on your local machine, you continue to get permission denied errors.

What could be the reason for that?
A . Your gcloud does not have access to the BigQuery resources
B . BigQuery cannot be accessed from local machines
C . You are missing gcloud on your machine
D . Pipelines cannot be run locally

Answer: A

Explanation:

When reading from a Dataflow source or writing to a Dataflow sink using DirectPipelineRunner, the Cloud Platform account that you configured with the gcloud executable will need access to the corresponding source/sink

Reference: https://cloud.google.com/dataflow/java-sdk/JavaDoc/com/google/cloud/dataflow/sdk/runners/DirectPipelineRunner

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments