felixzh created FLINK-38151:
-------------------------------

             Summary: Class MetricFetcherImpl's method fetchMetrics failed log 
level adjustment to error
                 Key: FLINK-38151
                 URL: https://issues.apache.org/jira/browse/FLINK-38151
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics, Runtime / REST
    Affects Versions: 1.20.2, 1.19.3, 1.18.1, 1.17.2
            Reporter: felixzh
             Fix For: 1.20.3
         Attachments: image-2025-07-29-10-41-35-778.png

when there is a jar conflict,the webUI keeps loading without any direct error 
message in the log, but Flink job is running normally.  This causing 
significant obstacles to identifying problems during troubleshooting. 

Strongly recommend adjusting the failed log level to ERROR!!

!image-2025-07-29-10-41-35-778.png!

Only debug log as follows:
 DEBUG org.apache.flink.runtime.rest.handler.legacy.metrics.MetricFetcherImpl 
[] - Failed to fetch the TaskManager's metrics.
java.util.concurrent.CompletionException: 
java.util.concurrent.ExecutionException: Boxed Error
Caused by: java.lang.NoSuchMethodError: 
org.apache.commons.math3.stat.descriptive.rank.Percentile.withNaNStrategy(Lorg/apache/commons/math3/stat/ranking/NaNStrategy;)Lorg/apache/commons/math3/stat/descriptive/rank/Percentile;
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to