[
https://issues.apache.org/jira/browse/FLINK-23952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405378#comment-17405378
]
Leonid Ilyevsky edited comment on FLINK-23952 at 8/26/21, 5:20 PM:
-------------------------------------------------------------------
[~chesnay] Thanks for pointing this out.
I added it to the classpath some time ago, because without it I was getting the
ClassNotFound exception, and a message saying that reporting would be turned
off.
Just tested it again without that jar:
ERROR org.apache.flink.runtime.metrics.ReporterSetup - Could not instantiate
metrics reporter prom. Metrics might not be exposed/reported.
java.lang.ClassNotFoundException:
org.apache.flink.metrics.prometheus.PrometheusReporter
at
jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
~[?:?]
at
jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
~[?:?]
was (Author: lilyevsky):
[~chesnay] Thanks for pointing this out.
I added it to the classpath some time ago, because without it I was getting the
ClassNotFound exception, and a message saying that reporting would be turned
off.
I removed it now and tested, everything looks fine. Not sure what other thing
was wrong before, but now it doesn't matter.
> Taskmanager fails to start complaining about missing configuration option
> -------------------------------------------------------------------------
>
> Key: FLINK-23952
> URL: https://issues.apache.org/jira/browse/FLINK-23952
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Configuration
> Affects Versions: 1.13.2
> Reporter: Leonid Ilyevsky
> Priority: Major
> Attachments: flink-conf.yaml, taskmanager.log, taskmanager_start.txt
>
>
> Taskmanager now fails to start, after I upgraded to 1.13.2. It worked fine in
> 1.13.1.
> It suddenly started complaining about missing configuration options that are
> not really required, according to documentation. When I tried to set the one
> it complained about, it started complaining about another one.
>
> Please see attached files:
> taskmanager_start.txt - actual command that is used to start the program
> flink-conf.yaml - configuration file
> taskmanager.log - logfile where you can see the exception
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)