boneanxs commented on code in PR #9922:
URL: https://github.com/apache/hudi/pull/9922#discussion_r1377093308


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowCreateHandle.java:
##########
@@ -272,11 +272,12 @@ private static Path makeNewPath(FileSystem fs, String 
partitionPath, String file
    *
    * @param partitionPath Partition path
    */
-  private static void createMarkerFile(String partitionPath,
+  private void createMarkerFile(String partitionPath,
                                        String dataFileName,
                                        String instantTime,
                                        HoodieTable<?, ?, ?, ?> table,
                                        HoodieWriteConfig writeConfig) {
+    stopIfAborted();

Review Comment:
   yes, it the task is already interrupted, we don't need to create marker, 
directly fail this task(at this time the file is not created yet, so it's safe 
here)



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to