You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/11/15 07:37:39 UTC

[GitHub] [ozone] rakeshadr commented on a change in pull request #2839: HDDS-5983. Prefix Parser tool should only work for FSO buckets.

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org