beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Groh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-448) Print Properties on validation failures in PipelineOptionsValidator
Date Wed, 13 Jul 2016 17:20:20 GMT
Thomas Groh created BEAM-448:
--------------------------------

             Summary: 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
            Assignee: Davor Bonaci
            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.3.4#6332)

Mime
View raw message