siddharthteotia commented on a change in pull request #6926: URL: https://github.com/apache/incubator-pinot/pull/6926#discussion_r633841737
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/recommender/realtime/provisioning/MemoryEstimator.java ########## @@ -519,21 +515,23 @@ private File generateData(Date now) { LOGGER.info("Successfully generated data file: {}", outputFile); return outputFile; } catch (Exception e) { + FileUtils.deleteQuietly(new File(outputDir)); Review comment: Why do we need `new File(outputDir)` -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org