rakeshadr commented on a change in pull request #2839:
URL: https://github.com/apache/ozone/pull/2839#discussion_r749065650



##########
File path: 
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/PrefixParser.java
##########
@@ -148,6 +148,14 @@ public void parse(String vol, String buck, String db,
       return;
     }
 
+    BucketLayout bucketLayout = info.getBucketLayout();
+    if (!bucketLayout.isFileSystemOptimized()) {
+      System.out.println("Prefix tool only works for FileSystem Optimized" +
+              "bucket. Bucket Type is:" + bucketLayout);

Review comment:
       @mukul1987 can you please modify message `"Bucket Type is:"` -> to -> 
`"Bucket Layout is:"`




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