Github user mridulm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/149#discussion_r10637181
  
    --- Diff: core/src/main/scala/org/apache/spark/Dependency.scala ---
    @@ -43,12 +44,13 @@ abstract class NarrowDependency[T](rdd: RDD[T]) extends 
Dependency(rdd) {
      * Represents a dependency on the output of a shuffle stage.
      * @param rdd the parent RDD
      * @param partitioner partitioner used to partition the shuffle output
    - * @param serializerClass class name of the serializer to use
    + * @param serializer [[Serializer]] to use. If set to null, the default 
serializer, as specified
    + *                  by `spark.serializer` config option, will be used.
      */
     class ShuffleDependency[K, V](
         @transient rdd: RDD[_ <: Product2[K, V]],
         val partitioner: Partitioner,
    -    val serializerClass: String = null)
    +    val serializer: Serializer = null)
    --- End diff --
    
    good point. wondering what is adding this overhead then.
    For JavaSerializer, it is just a single int (and some header for the class).
    Is this 58k for kyro ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to