Skip to content

Conversation

@iris-garden
Copy link
Contributor

@iris-garden iris-garden commented Jul 16, 2024

Closes #14647.

Currently, if you try to pass `--project` to `hailctl dataproc submit`,
it still tries to use the project configured via `gcloud config`, and
passes through the value specified for `--project` in the
`pass_through_args`.

This change allows the user to specify which project their Dataproc
cluster is in as part of the command.

An example command where the project is ignored on `main` but used
correctly on this branch is:

```bash
hailctl dataproc submit test.py --region us-central1 --project broad-ctsa
```
Copy link
Member

@patrick-schultz patrick-schultz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRs need to link to issues now. If there isn't one already, can you make an issue that describes the problem, and link it from here?

@iris-garden
Copy link
Contributor Author

Good catch, updated!

@hail-ci-robot hail-ci-robot merged commit 50310c9 into hail-is:main Jul 31, 2024
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

Successfully merging this pull request may close these issues.

hailctl dataproc submit ignores project arg

4 participants