Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior. "ratatool BigDiffy ..." command ignores the "--project" argument. #561

Open
nvmalovichko opened this issue Jul 13, 2022 · 0 comments

Comments

@nvmalovichko
Copy link

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant