You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dennis-Mircea Ciupitu (Jira)" <ji...@apache.org> on 2026/08/27 15:53:00 UTC
[jira] [Commented] (FLINK-40454) java.lang.NoSuchMethodError: '...Configuration.getInteger(..)' in FlinkConfigManager
[ https://issues.apache.org/jira/browse/FLINK-40454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108883#comment-18108883 ]
Dennis-Mircea Ciupitu commented on FLINK-40454:
-----------------------------------------------
Hi [~vladislav.keda]! The stacktrace attached in the Jira description is not related to flink-kubernetes-operator-api, but is o flink-kubernetes-operator. flink-kubernetes-operator is the operator runtime, compiled and shipped against a single Flink version, and it is not meant to be linked against a different Flink on a user classpath.
Could you share the relevant part of your pom.xml? If your project only depends on api module, that trace cannot come from it, so something else is putting flink-kubernetes-operator on your classpath and it would help to see what.
> java.lang.NoSuchMethodError: '...Configuration.getInteger(..)' in FlinkConfigManager
> ------------------------------------------------------------------------------------
>
> Key: FLINK-40454
> URL: https://issues.apache.org/jira/browse/FLINK-40454
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Affects Versions: kubernetes-operator-1.15.0
> Reporter: Vladislav Keda
> Priority: Critical
>
> The dependency `flink-kubernetes-operator-api:1.15.0` contains outdated Flink code (from Flink 1.20) that throws a NoSuchMethodError:
> {code:java}
> java.lang.NoSuchMethodError: 'int org.apache.flink.configuration.Configuration.getInteger(org.apache.flink.configuration.ConfigOption)'
> at org.apache.flink.kubernetes.operator.config.FlinkOperatorConfiguration.fromConfiguration(FlinkOperatorConfiguration.java:93) at org.apache.flink.kubernetes.operator.config.FlinkConfigManager.updateDefaultConfig(FlinkConfigManager.java:177) at org.apache.flink.kubernetes.operator.config.FlinkConfigManager.<init>(FlinkConfigManager.java:135) at org.apache.flink.kubernetes.operator.config.FlinkConfigManager.<init>(FlinkConfigManager.java:100){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)