You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2017/08/24 21:06:00 UTC

[jira] [Assigned] (BEAM-448) Print Properties on validation failures in PipelineOptionsValidator

     [ https://issues.apache.org/jira/browse/BEAM-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davor Bonaci reassigned BEAM-448:
---------------------------------

    Assignee:     (was: Davor Bonaci)

> 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: Minor
>
> 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
(v6.4.14#64029)