You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Liu Yi (Jira)" <ji...@apache.org> on 2024/02/21 04:19:00 UTC
[jira] [Created] (FLINK-34478) NoSuchMethod error for "flink cancel $jobId" via Command Line
Liu Yi created FLINK-34478:
------------------------------
Summary: NoSuchMethod error for "flink cancel $jobId" via Command Line
Key: FLINK-34478
URL: https://issues.apache.org/jira/browse/FLINK-34478
Project: Flink
Issue Type: Bug
Components: Command Line Client
Affects Versions: 1.18.1
Reporter: Liu Yi
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)'|https://www.google.com/search?q=java.lang.NoSuchMethodError:+%27boolean+org.apache.commons.cli.CommandLine.hasOption%28org.apache.commons.cli.Option%29%27] " 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?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)