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-2018) Add ParameterUtil.fromGenericOptionsParser() for compatibility to Hadoop's argument parser
Date Sun, 24 May 2015 05:31:17 GMT

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

ASF GitHub Bot commented on FLINK-2018:

GitHub user ajaybhat opened a pull request:


    FLINK-2018 Add ParameterUtil.fromGenericOptionsParser()

    Pls review and comment

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajaybhat/flink FLINK-2018

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #720
commit e1ba738ba36632e18bd43c1d045b2fbd0607255a
Author: Ajay Bhat <ajaybhat@air-watch.com>
Date:   2015-05-24T05:30:09Z

    FLINK-2018 Add ParameterUtil.fromGenericOptionsParser()


> Add ParameterUtil.fromGenericOptionsParser() for compatibility to Hadoop's argument parser
> ------------------------------------------------------------------------------------------
>                 Key: FLINK-2018
>                 URL: https://issues.apache.org/jira/browse/FLINK-2018
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Robert Metzger
>            Priority: Minor
>              Labels: starter
> In FLINK-1525 we've added the {{ParameterTool}}.
> For users used to Hadoop's {{GenericOptionsParser}} it would be great to provide a compatible
> See: https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/util/GenericOptionsParser.html
> {code}
> @Test
> public void testFromGenericOptionsParser() {
> 	ParameterUtil parameter = ParameterUtil.fromGenericOptionsParser(new String[]{"-D",
"input=myinput", "-DexpectedCount=15"});
> 	validate(parameter);
> } 
> {code}

This message was sent by Atlassian JIRA

View raw message