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)