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

NoSuchMethod error for "flink cancel $jobId" via Command Line

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.18.1
    • None
    • Command Line Client
    • None

    Description

      On 1.18.1 standalone mode (launched by "{flink}/bin/start-cluster.sh"), I hit " java.lang.NoSuchMethodError: 'boolean org.apache.commons.cli.CommandLine.hasOption(org.apache.commons.cli.Option)' " when trying to cancel a job submitted via the UI by executing the Command Line "{*}

      {flink}

      /bin/flink cancel $jobId{*}". While clicking on "Cancel Job" link in the UI can cancel the job just fine, and "flink run" command line also works fine.

      Has anyone seen same/similar behavior?

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            liuyi Liu Yi

            Dates

              Created:
              Updated:

              Slack

                Issue deployment