You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "tvalentyn (via GitHub)" <gi...@apache.org> on 2023/09/11 22:25:46 UTC
[GitHub] [beam] tvalentyn opened a new issue, #28402: [Feature Request]: Warn users about misspelled pipeline options
tvalentyn opened a new issue, #28402:
URL: https://github.com/apache/beam/issues/28402
### What would you like to happen?
I believe after https://github.com/apache/beam/commit/3dcdcf3 we are no longer getting warnings like "Discarding unparseable args".
It is very easy to mistype an option. For example, one can supply `--extra-package` instead of `--extra_package`, which I did, and this
In 2.40.0 I would have
`WARNING:apache_beam.options.pipeline_options:Discarding unparseable args: ['--extra-package=package.whl']` in console UI, but not anymore.
We should warn users about incorrect options, or even better suggest corrections: did you mean X ?
### Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
### Issue Components
- [ ] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] tvalentyn commented on issue #28402: [Feature Request]: Warn users about misspelled pipeline options
Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1714667433
cc: @riteshghorse @liferoad
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "riteshghorse (via GitHub)" <gi...@apache.org>.
riteshghorse commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817007174
On dataflow runner it is not shown because we are retaining the pipeline options. So any unknown flag is [getting added as a valid argument](https://github.com/apache/beam/blob/9ec75ed009eff2fcf3e01597553fcf24667e0199/sdks/python/apache_beam/options/pipeline_options.py#L349) and [parsed again](https://github.com/apache/beam/blob/9ec75ed009eff2fcf3e01597553fcf24667e0199/sdks/python/apache_beam/options/pipeline_options.py#L364). This seems to be working as intended. But as a caution, we can add a log stating that unknown arg re-parsed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "riteshghorse (via GitHub)" <gi...@apache.org>.
riteshghorse commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817150746
Sounds good.. I'll take a look on this more
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm closed issue #28402: [Feature Request]: Warn users about misspelled pipeline options
URL: https://github.com/apache/beam/issues/28402
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817148465
There is probably some off-the-shelf library or algorithm we can reuse to detect misspellings specifically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817145143
I don't see "Discarding" when searching logs in https://pipelinesghubeus2.actions.githubusercontent.com/COKSSHEuHyOLM1pP93G8aBnLpu5tMJfYiveSzILlm0cIfDvSEl/_apis/pipelines/1/runs/1238381/signedlogcontent/2?urlExpires=2023-11-17T21%3A42%3A27.7060577Z&urlSigningMethod=HMACV1&urlSignature=4rZiXjzRlDCZiQ7UDsTg5%2FasaEMDK0ARsnWTKF1Eb5k%3D
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817122765
I can still see "Discarding unparseable args" in recent dataflow pipeline, e.g. this load test: "2023-11-17_07_58_43-10220172113544842485"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817220160
> I don't see "Discarding" when searching logs in https://pipelinesghubeus2.actions.githubusercontent.com/COKSSHEuHyOLM1pP93G8aBnLpu5tMJfYiveSzILlm0cIfDvSEl/_apis/pipelines/1/runs/1238381/signedlogcontent/2?urlExpires=2023-11-17T21%3A42%3A27.7060577Z&urlSigningMethod=HMACV1&urlSignature=4rZiXjzRlDCZiQ7UDsTg5%2FasaEMDK0ARsnWTKF1Eb5k%3D
It's in Dataflow worker log
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "riteshghorse (via GitHub)" <gi...@apache.org>.
riteshghorse commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1816935328
Validated that the warning is shown while running on Direct runner but not for Dataflow runner
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Warn users about misspelled pipeline options [beam]
Posted by "riteshghorse (via GitHub)" <gi...@apache.org>.
riteshghorse commented on issue #28402:
URL: https://github.com/apache/beam/issues/28402#issuecomment-1817001684
I think this is the actual change which prevented the warnings https://github.com/apache/beam/pull/22132/files
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org