bvaradar commented on a change in pull request #651: Spark Stage retry handling
URL: https://github.com/apache/incubator-hudi/pull/651#discussion_r279045537
##########
File path:
hoodie-client/src/main/java/com/uber/hoodie/io/HoodieCreateHandle.java
##########
@@ -164,8 +159,9 @@ public WriteStatus close() {
stat.setNumInserts(insertRecordsWritten);
stat.setPrevCommit(HoodieWriteStat.NULL_COMMIT);
stat.setFileId(writeStatus.getFileId());
- stat.setPaths(new Path(config.getBasePath()), path, tempPath);
- stat.setTotalWriteBytes(FSUtils.getFileSize(fs, getStorageWriterPath()));
+ stat.setPath(new Path(config.getBasePath()), path);
+ long fileSizeInBytes = FSUtils.getFileSize(fs, path);
Review comment:
The other PR (Timeline-Server) uses this to set another attribute.
----------------------------------------------------------------
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