cchenax commented on a change in pull request #2054:
URL: https://github.com/apache/ozone/pull/2054#discussion_r598391849



##########
File path: 
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java
##########
@@ -496,6 +496,11 @@ public boolean delete(Path f, boolean recursive) throws 
IOException {
     String key = pathToKey(f);
     boolean result;
 
+    if (f.isRoot()) {

Review comment:
       Ok,I will add the unit test




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to