BestOreo commented on issue #24720: [SPARK-27852][Spark Core] 
updateBytesWritten() operaton is missed
URL: https://github.com/apache/spark/pull/24720#issuecomment-496216253
 
 
   > This would make it update metrics on every write. It appears this is 
purposely done only every 16,000 _records_ for this reason.
   
   `
     override def write(kvBytes: Array[Byte], offs: Int, len: Int): Unit = {
       if (!streamOpen) {
         open()
       }
   
       bs.write(kvBytes, offs, len)
       updateBytesWritten()   // the function is missed
     }
   `
   In this write function, there isn't any work to update metrics or records.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to