Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1424

bin/flink run does not recognize -c parameter anymore

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.9
    • Runtime / Coordination
    • None

    Description

      bin/flink binary does not recognize `-c` parameter anymore which specifies the class to run:

      $ ./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'
      

      before this command worked fine and executed the job.

      I tracked it down to the following commit using `git bisect`:

      93eadca782ee8c77f89609f6d924d73021dcdda9 is the first bad commit
      commit 93eadca782ee8c77f89609f6d924d73021dcdda9
      Author: Alexander Alexandrov <alexander.s.alexandrov@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
      

      https://github.com/apache/flink/commit/93eadca782ee8c77f89609f6d924d73021dcdda9

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mxm Maximilian Michels
            cebe Carsten Brandt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment