You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xianyang Liu (JIRA)" <ji...@apache.org> on 2017/08/03 06:04:01 UTC
[jira] [Created] (SPARK-21621) Reset numRecordsWritten after
DiskBlockObjectWriter.commitAndGet called
Xianyang Liu created SPARK-21621:
------------------------------------
Summary: Reset numRecordsWritten after DiskBlockObjectWriter.commitAndGet called
Key: SPARK-21621
URL: https://issues.apache.org/jira/browse/SPARK-21621
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.2.0
Reporter: Xianyang Liu
We should reset numRecordsWritten to zero after DiskBlockObjectWriter.commitAndGet called.
Because when `revertPartialWritesAndClose` be called, we decrease the written records in `ShuffleWriteMetrics` . However, we decreased the written records to zero, this should be wrong, we should only decreased the number reords after the last `commitAndGet` called.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org