gaoyajun02 opened a new pull request, #3161:
URL: https://github.com/apache/celeborn/pull/3161

   ### What changes were proposed in this pull request?
   - Remove MetricSupplier usage and directly use Gauge interface for metrics 
registration
   - Simplify metrics registration code in AbstractSource
   
   ### Why are the changes needed?
   - MetricSupplier was introduced in newer versions of Dropwizard Metrics 
library
   - Current implementation has compatibility issues with older versions (e.g. 
Spark 2.4.x uses metrics-core 3.1.2)
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   - UT
   - Tested with Spark 2.4 (using metrics-core 3.1.2)


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

Reply via email to