anuragp010 commented on code in PR #11232:
URL: https://github.com/apache/ozone/pull/11232#discussion_r4034070745


##########
hadoop-ozone/cli-shell/src/main/java/org/apache/hadoop/ozone/shell/bucket/CreateBucketHandler.java:
##########
@@ -67,6 +69,19 @@ public class CreateBucketHandler extends BucketHandler {
   @CommandLine.Mixin
   private SetSpaceQuotaOptions quotaOptions;
 
+  @Option(names = {"--storage-policy", "-s"},
+      description = "Bucket StoragePolicy. Allowed values: HOT, WARM, COLD, 
null. Default: WARM.",
+      defaultValue = "WARM")
+  private String storagePolicyStr;
+
+  @Option(names = {"--allow-fallback-storage-policy", "-a"},
+      description = "When true, allocation may fall back to the 
StoragePolicy's " +
+          "fallback tier if the creation tier is unavailable. Default: true.",
+      defaultValue = "true")
+  private String allowFallBackStoragePolicyStr;

Review Comment:
   Thanks @sarvekshayr for the review. Yes we can use `boolean`.



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