RussellSpitzer commented on pull request #4395:
URL: https://github.com/apache/iceberg/pull/4395#issuecomment-1078511905


   > Note that in order for the Spark UI to show the value of the custom 
metric, the custom metric class must be available in the classpath of the Spark 
History Server. The simplest way to do this is to put the Iceberg Spark runtime 
JAR in the SHS classpath. Spark's `SQLAppStatusListener` loads the custom 
metric class by name, instantiates it, and calls its `aggregateTaskMetrics` 
method to get the value of the metric. If it is not able to load the custom 
metric class, it shows "N/A".
   
   Yeah I was very frustrated with this when i was messing with it. Makes it 
hard if your history server is not running the same Spark build as your apps :(


-- 
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]

Reply via email to