You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Max Michels (JIRA)" <ji...@apache.org> on 2015/02/12 16:38:11 UTC

[jira] [Resolved] (FLINK-1424) bin/flink run does not recognize -c parameter anymore

     [ https://issues.apache.org/jira/browse/FLINK-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Michels resolved FLINK-1424.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9

> bin/flink run does not recognize -c parameter anymore
> -----------------------------------------------------
>
>                 Key: FLINK-1424
>                 URL: https://issues.apache.org/jira/browse/FLINK-1424
>             Project: Flink
>          Issue Type: Bug
>          Components: TaskManager
>    Affects Versions: master
>            Reporter: Carsten Brandt
>            Assignee: Max Michels
>             Fix For: 0.9
>
>
> bin/flink binary does not recognize `-c` parameter anymore which specifies the class to run:
> {noformat}
> $ ./flink run "/path/to/target/impro3-ws14-flink-1.0-SNAPSHOT.jar" -c de.tu_berlin.impro3.flink.etl.FollowerGraphGenerator /tmp/flink/testgraph.txt 10000
> usage: emma-experiments-impro3-ss14-flink
>        [-?]
> emma-experiments-impro3-ss14-flink: error: unrecognized arguments: '-c'
> {noformat}
> before this command worked fine and executed the job.
> I tracked it down to the following commit using `git bisect`:
> {noformat}
> 93eadca782ee8c77f89609f6d924d73021dcdda9 is the first bad commit
> commit 93eadca782ee8c77f89609f6d924d73021dcdda9
> Author: Alexander Alexandrov <al...@gmail.com>
> Date:   Wed Dec 24 13:49:56 2014 +0200
>     [FLINK-1027] [cli] Added support for '--' and '-' prefixed tokens in CLI program arguments.
>     
>     This closes #278
> :040000 040000 a1358e6f7fe308b4d51a47069f190a29f87fdeda d6f11bbc9444227d5c6297ec908e44b9644289a9 M	flink-clients
> {noformat}
> https://github.com/apache/flink/commit/93eadca782ee8c77f89609f6d924d73021dcdda9



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)