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: [email protected]
For additional commands, e-mail: [email protected]