You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/27 13:39:34 UTC

[GitHub] [spark] BestOreo edited a comment on issue #24720: [SPARK-27852][Spark Core] updateBytesWritten() operaton is missed

BestOreo edited a comment 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)
   }
   
   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:
users@infra.apache.org


With regards,
Apache Git Services

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