GitHub user gengliangwang opened a pull request: https://github.com/apache/spark/pull/21846
[SPARK-24887][SQL]Avro: use SerializableConfiguration in Spark utils to deduplicate code ## What changes were proposed in this pull request? To implement the method `buildReader` in `FileFormat`, it is required to serialize the hadoop configuration for executors. Previous spark-avro uses its own class `SerializableConfiguration` for the serialization. As now it is part of Spark, we can use SerializableConfiguration in Spark util to deduplicate the code. ## How was this patch tested? Unit test You can merge this pull request into a Git repository by running: $ git pull https://github.com/gengliangwang/spark removeSerializableConfiguration Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21846.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21846 ---- commit a8dd96df3eef66bab29f83b141a67386676603fa Author: Gengliang Wang <gengliang.wang@...> Date: 2018-07-23T09:16:06Z use SerializableConfiguration in Spark utils ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org