Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49147][CORE] Mark
KryoRegistrator
with DeveloperApi interface
### What changes were proposed in this pull request? Trait `org.apache.spark.serializer.KryoRegistrator` is a public interface because it is exposed via config `spark.kryo.registrator`, but it is not annotated to describe the stability level. This adds the `DeveloperApi` annotation to formalize the contract. ### Why are the changes needed? This will help users understand the compatibility guarantees when using the trait. It is also helpful for scripts that need to identify classes with public APIs. We recently missed this trait in a script used to analyze which namespaces can be shaded. ### Does this PR introduce _any_ user-facing change? Yes, it adds the DeveloperApi interface to the trait. ### How was this patch tested? N/A. Annotation change only. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47657 from robreeves/rob/stable_kryo. Lead-authored-by: Rob Reeves <[email protected]> Co-authored-by: Kent Yao <[email protected]> Signed-off-by: Kent Yao <[email protected]>
- Loading branch information