majian1998 opened a new issue, #11191: URL: https://github.com/apache/iceberg/issues/11191
### Apache Iceberg version 1.6.1 (latest release) ### Query engine Spark ### Please describe the bug 🐞 I executed the following query using the Hadoop catalog: `select count(*) from local.iceberg.lineitem where l_orderkey!='1';` I can't see the scan metrics on Spark UI. And there are warnings in logs. How can I see these metrics? Warning such as ``` 24/09/23 17:04:48 WARN SQLAppStatusListener: Unable to load custom metric object for class org.apache.iceberg.spark.source.metrics.TotalDataFileSize`. Please make sure that the custom metric class is in the classpath and it has 0-arg constructor. java.lang.ClassNotFoundException: org.apache.iceberg.spark.source.metrics.TotalDataFileSize at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.spark.util.SparkClassUtils.classForName(SparkClassUtils.scala:41) at org.apache.spark.util.SparkClassUtils.classForName$(SparkClassUtils.scala:36) at org.apache.spark.util.Utils$.classForName(Utils.scala:94) at org.apache.spark.util.Utils$.$anonfun$loadExtensions$1(Utils.scala:2774) at scala.collection.immutable.List.flatMap(List.scala:366) at org.apache.spark.util.Utils$.loadExtensions(Utils.scala:2772)) ```  ### Willingness to contribute - [ ] I can contribute a fix for this bug independently - [ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community - [X] I cannot contribute a fix for this bug at this time -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org