dongjoon-hyun commented on code in PR #37386:
URL: https://github.com/apache/spark/pull/37386#discussion_r936202134
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLAppStatusListener.scala:
##########
@@ -220,7 +220,10 @@ class SQLAppStatusListener(
metricAggregationMap.put(className, method)
method
} catch {
- case NonFatal(_) =>
+ case NonFatal(e) =>
+ logWarning(s"Unable to load custom metric object for class
`$className`. " +
+ "Please make sure that the custom metric class is in the
classpath and " +
+ "it has 0-arg constructor", e)
Review Comment:
nit. `.` at the end of the sentence?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]