You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/04 13:36:38 UTC

[jira] [Commented] (FLINK-2018) Add ParameterUtil.fromGenericOptionsParser() for compatibility to Hadoop's argument parser

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

ASF GitHub Bot commented on FLINK-2018:
---------------------------------------

Github user fhueske commented on the pull request:

    https://github.com/apache/flink/pull/720#issuecomment-108851892
  
    Github sometimes includes unrelated commits into PRs when the Apache Git repository and the Github mirror are out-of-sync, i.e., commits from the Apache Git have not been mirrored yet.
    
    @ajaybhat The commit should disappear when you do another rebase and push --force into your PR branch.


> 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 parser.
> 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
(v6.3.4#6332)