jojochuang commented on code in PR #6638:
URL: https://github.com/apache/ozone/pull/6638#discussion_r1590608277


##########
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java:
##########
@@ -135,6 +137,14 @@ public boolean hasPathCapability(final Path path, final 
String capability)
     if (cap) {
       return cap;
     }
+    // this switch is for features which are in the OFS client.
+    switch (validatePathCapabilityArgs(path, capability)) {
+    case CommonPathCapabilities.LEASE_RECOVERABLE:

Review Comment:
   is there a reason not adding this switch case to 
OzonePathCapabilities.hasPathCapability() instead?



##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/contract/TestOzoneContractFSO.java:
##########
@@ -20,7 +20,6 @@
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.contract.AbstractFSContract;
 import org.apache.hadoop.hdds.conf.OzoneConfiguration;
-

Review Comment:
   remove this change in the next iteration.



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

Reply via email to