You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Dave Teng (Jira)" <ji...@apache.org> on 2022/08/11 19:00:00 UTC

[jira] [Created] (HDDS-7122) Add validation for chunk size option when using ozone CLI to create new bucket

Dave Teng created HDDS-7122:
-------------------------------

             Summary: Add validation for chunk size option when using ozone CLI to create new bucket
                 Key: HDDS-7122
                 URL: https://issues.apache.org/jira/browse/HDDS-7122
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone CLI
            Reporter: Dave Teng


Add validation for chunk size option when using ozone CLI to create new bucket.

For example,

1. Since using very small chunk size is not recommended for performance reasons. Please use at least 1024k (which matches default bytes per checksum setting.

2. Chunk sizes shouldn't be more than block size.

 

For reference: [https://github.com/apache/ozone/blob/master/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/ReplicationOptions.java#L74]

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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