You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Danny McCormick (Jira)" <ji...@apache.org> on 2022/06/03 16:18:00 UTC
[jira] (BEAM-448) Print Properties on validation failures in PipelineOptionsValidator
[ https://issues.apache.org/jira/browse/BEAM-448 ]
Danny McCormick deleted comment on BEAM-448:
--------------------------------------
was (Author: JIRAUSER282469):
This issue has been migrated to [https://github.com/apache/beam/issues/17905]
> Print Properties on validation failures in PipelineOptionsValidator
> -------------------------------------------------------------------
>
> Key: BEAM-448
> URL: https://issues.apache.org/jira/browse/BEAM-448
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Thomas Groh
> Priority: P3
> Labels: Clarified
>
> If Pipeline Validation fails in the pipeline options Validator, the methods that failed validation are printed. Instead, the property names (passed on the command line) should be printed for consistency with the PipelineOptionsFactory.
> Currently methods are printed at https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsValidator.java#L72
> PipelineOptionsReflector currently extracts the property -> method mapping
> https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptionsReflector.java#L95
--
This message was sent by Atlassian Jira
(v8.20.7#820007)