dk2k commented on a change in pull request #5842:
URL: https://github.com/apache/camel/pull/5842#discussion_r672951931
##########
File path:
components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsNormalFileHandler.java
##########
@@ -152,7 +155,10 @@ private File getHdfsFileToTmpFile(String hdfsPath,
HdfsConfiguration configurati
}
if (outputDest.exists()) {
- outputDest.delete();
+ boolean result = outputDest.delete();
+ if (!result) {
+ LOG.error("failed to delete {}" + outputDest);
Review comment:
sorry, too hot for my brain. Will fix
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]