pan3793 opened a new pull request, #58467: URL: https://github.com/apache/spark/pull/58467
### What changes were proposed in this pull request? `KVStoreProtobufSerializer.getSerializer` now logs a warning when no `ProtobufSerDe` is registered for a class and it silently falls back to the JSON SerDe. Each missed class is recorded in a concurrent set so the warning is logged at most once per class, avoiding log flood. ### Why are the changes needed? The fallback is currently silent, so a missing `ProtobufSerDe` registration (e.g. a new UI store class without a corresponding serializer) is easy to miss and quietly loses the performance benefit of Protobuf serialization. A one-time warning makes the gap visible without flooding the log. ### Does this PR introduce _any_ user-facing change? No, only a new warning log message. ### How was this patch tested? Existing tests: `KVStoreProtobufSerializerSuite` in `core` and `sql/core`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Fable 5 -- 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]
