This is an automated email from the ASF dual-hosted git repository.
peter-toth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a74eb2262641 [SPARK-56847][CORE] Promote `SerializableConfiguration`
to Stable
a74eb2262641 is described below
commit a74eb22626415eab1f133a49b3c743ebe58c840d
Author: Cheng Pan <[email protected]>
AuthorDate: Thu May 14 19:23:57 2026 +0200
[SPARK-56847][CORE] Promote `SerializableConfiguration` to Stable
### What changes were proposed in this pull request?
Story history:
- SPARK-8135 (1.5.0) introduced `SerializableConfiguration` as an internal
utility;
- SPARK-29158 (3.0.0) promoted it to an Unstable Developer API, with no
effective change to it until now.
This PR proposes to promote it as a Stable Developer API.
### Why are the changes needed?
`SerializableConfiguration` is widely used by plugins, especially
connectors based on DSv2 API that need to communicate with the Hadoop services
on the executor side. Promoting it to a Stable Developer API makes developers
more confident to use it in downstream projects.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #55856 from pan3793/SPARK-56847.
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Peter Toth <[email protected]>
---
.../main/scala/org/apache/spark/util/SerializableConfiguration.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/src/main/scala/org/apache/spark/util/SerializableConfiguration.scala
b/core/src/main/scala/org/apache/spark/util/SerializableConfiguration.scala
index e216b050292c..335c060f6624 100644
--- a/core/src/main/scala/org/apache/spark/util/SerializableConfiguration.scala
+++ b/core/src/main/scala/org/apache/spark/util/SerializableConfiguration.scala
@@ -21,7 +21,7 @@ import java.io.{ObjectInputStream, ObjectOutputStream}
import org.apache.hadoop.conf.Configuration
import org.apache.spark.SparkContext
-import org.apache.spark.annotation.{DeveloperApi, Unstable}
+import org.apache.spark.annotation.{DeveloperApi, Stable}
import org.apache.spark.broadcast.Broadcast
/**
@@ -29,7 +29,7 @@ import org.apache.spark.broadcast.Broadcast
*
* @param value Hadoop configuration
*/
-@DeveloperApi @Unstable
+@DeveloperApi @Stable
class SerializableConfiguration(@transient var value: Configuration) extends
Serializable {
private def writeObject(out: ObjectOutputStream): Unit =
Utils.tryOrIOException {
out.defaultWriteObject()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]