bvaradar commented on a change in pull request #1432: [HUDI-716] Exception: Not 
an Avro data file when running HoodieCleanClient.runClean
URL: https://github.com/apache/incubator-hudi/pull/1432#discussion_r400043115
 
 

 ##########
 File path: hudi-common/src/main/java/org/apache/hudi/common/util/FSUtils.java
 ##########
 @@ -485,6 +485,14 @@ public static void 
deleteOlderRollbackMetaFiles(FileSystem fs, String metaPath,
     });
   }
 
+  public static void deleteInstantFile(FileSystem fs, String metaPath, 
HoodieInstant instant) {
+    try {
+      fs.delete(new Path(metaPath, instant.getFileName()), false);
 
 Review comment:
   Add a Log message to not what is getting deleted ?

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

Reply via email to