flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink issue #3495: [FLINK-5781][config] Generation HTML from ConfigOption
Date Mon, 08 May 2017 13:35:38 GMT
Github user zentol commented on the issue:

    Ran into an issue. Some config parameters, like `jobmanager.web.tmpdir`, have non-constant
default values that are evaluated at runtime, like `System.getProperty("java.tmpdir")`. These
values now show up in the generated table as the default value.
    I see two ways to fix this: Either enforce, manually i might add, that all default values
must be constant, or explicitly mark these kind of default values as dynamic in the OptionBuilder,
with a new method like `withDynamicDefaultValue(T value, String origin)`.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message