virajjasani commented on a change in pull request #3386:
URL: https://github.com/apache/hadoop/pull/3386#discussion_r706874063
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/FileIoProvider.java
##########
@@ -513,6 +513,7 @@ public boolean fullyDelete(@Nullable FsVolumeSpi volume,
File dir) {
try {
faultInjectorEventHook.beforeMetadataOp(volume, DELETE);
boolean deleted = FileUtil.fullyDelete(dir);
+ LOG.trace("Deletion of dir {} {}", dir, deleted ? "succeeded" :
"failed");
Review comment:
While debugging this issue, I felt that a log line here would make it
easier for operator to confirm the output of Delete operation, and trace log
level is sufficient on the other hand, hence I thought of keeping this log line.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]