ArafatKhan2198 commented on code in PR #6991:
URL: https://github.com/apache/ozone/pull/6991#discussion_r1694750118
##########
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java:
##########
@@ -768,13 +768,19 @@ private boolean deleteInSpan(Path f, boolean recursive)
throws IOException {
private boolean deleteBucket(Path f, boolean recursive, OFSPath ofsPath)
throws IOException {
+ OzoneBucket bucket;
+ try {
+ bucket = adapterImpl.getBucket(ofsPath, false);
+ } catch (Exception ex) {
Review Comment:
Can you add a log statement here signifying there was an error.
```
LOG.error("Exception while getting bucket link information, " +
"considered it as false", ex);
```
--
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]