mukul1987 commented on a change in pull request #1841:
URL: https://github.com/apache/ozone/pull/1841#discussion_r563698621



##########
File path: 
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneClientAdapterImpl.java
##########
@@ -545,7 +545,17 @@ private FileStatusAdapter 
toFileStatusAdapter(OzoneFileStatus status,
   }
 
   @Override
-  public String getBucketLayoutVersion() {
-    return bucket.getMetadata().get(OMConfigKeys.OZONE_OM_LAYOUT_VERSION);
+  public boolean isFSOptimizedBucket() {
+    boolean layoutVersionEnabled =
+            StringUtils.equalsIgnoreCase(

Review comment:
       Lets add a comment here and around the original variable that Layout 
Version V1 in OM implies optimized FS Paths
   




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