Github user 10110346 commented on the issue:

    https://github.com/apache/spark/pull/23216
  
    > 
    > 
    > Are you sure it's even a field in the class? it looks like it's only used 
to define this:
    > 
    > ```
    >   @transient private[this] val preferredLocs: Seq[TaskLocation] = {
    >     if (locs == null) Nil else locs.toSet.toSeq
    >   }
    > ```
    > 
    > I'd expect Scala would not generate a field. Indeed the thing it is used 
to make is transient.
    
    Yeah, it would not generate a field, thanks @srowen 
    By the way, is it better to remove `transient` for `ShuffleMapTask`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to