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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Carsten Brandt created FLINK-1424:
-------------------------------------

             Summary: 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


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 <[hidden email]>
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)
Reply | Threaded
Open this post in threaded view
|

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

aalexandrov
We verified this today in the IMPRO-3 lecture. We also had problems passing
parameters like "-c XXX" via the JobSubmission tool.

2015-01-21 2:46 GMT+01:00 Carsten Brandt (JIRA) <[hidden email]>:

> Carsten Brandt created FLINK-1424:
> -------------------------------------
>
>              Summary: 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
>
>
> 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 <[hidden email]>
> 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)
>