flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3560) Examples shouldn't always print usage statement
Date Mon, 14 Mar 2016 10:37:33 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193078#comment-15193078

ASF GitHub Bot commented on FLINK-3560:

Github user tillrohrmann commented on the pull request:

    `ProgramDescription` has not been marked as deprecated so far. Furthermore it can be used
to show information about the program using `bin/flink info` and is not mandatory. 
    Admittedly, this feature isn't used by many programs but I think it does not hurt to keep
and implement this interface, unless we plan to remove it soon. There was a [discussion](http://mail-archives.apache.org/mod_mbox/flink-dev/201505.mbox/%3CCAGco--b_ViG6Nx-7c1_OeNekiUrgdQJtRvrFu8+ZXw96nFwriw@mail.gmail.com%3E)
which also involved `ProgramDescription`. However, it does not look to me as if it converged
to some real action points.

> Examples shouldn't always print usage statement
> -----------------------------------------------
>                 Key: FLINK-3560
>                 URL: https://issues.apache.org/jira/browse/FLINK-3560
>             Project: Flink
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 1.0.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
> At the moment all our examples print a usage statement no matter whether the parameters
have been provided or not. This can be confusing for people because an usage statement is
usually only printed if one has specified a wrong parameter or if a parameter is missing.
> I propose to remove the unchecked printing of the usage statement.

This message was sent by Atlassian JIRA

View raw message