-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I have found an unexpected behavior while setting a specific --project
argument. If I set a project using a gcloud command gcloud config set project example-project
, the command ratatool bigDiffy ... --project XYZ
surprisingly ignores the input --project
argument and tries to use a example-project
project.
It can be fixed by setting the project using gcloud: gcloud config set project XYZ
The error messages:
[main] INFO org.apache.beam.sdk.extensions.gcp.options.GcpOptions$DefaultProjectFactory - Inferred default GCP project 'example-project' from gcloud. If this is the incorrect project, please cancel this Pipeline and specify the command-line argument --project.
Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
GET https://bigquery.googleapis.com/bigquery/v2/projects/example-project/...
"code" : 404,
"errors" : [ {
"domain" : "global",
"message" : "Not found: Dataset example-project: ...",
"reason" : "notFound"
} ],
"message" : "Not found: Dataset example-project: ...",
"status" : "NOT_FOUND"
}
chrisheaththomas
Metadata
Metadata
Assignees
Labels
No labels