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

    https://github.com/apache/spark/pull/16272#discussion_r92279247
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala
 ---
    @@ -71,7 +71,7 @@ trait ProgressReporter extends Logging {
       private var metricWarningLogged: Boolean = false
     
       /** Holds the most recent query progress updates.  Accesses must lock on 
the queue itself. */
    -  private val progressBuffer = new mutable.Queue[StreamingQueryProgress]()
    +  @transient private val progressBuffer = new 
mutable.Queue[StreamingQueryProgress]()
    --- End diff --
    
    mark `progressBuffer` `@transient` instead of changing it to serializable 
because it may contain a lot of progresses and we should try to avoid sending 
them to executors.


---
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.
---

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

Reply via email to