You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/08/11 19:57:00 UTC
[jira] [Commented] (HDDS-7122) Add validation for chunk size option when using ozone CLI to create new bucket
[ https://issues.apache.org/jira/browse/HDDS-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17578641#comment-17578641 ]
Wei-Chiu Chuang commented on HDDS-7122:
---------------------------------------
The max chunk size is hardcoded to be 32MB: https://github.com/apache/ozone/blob/bedc7ad045c27dbcbc077d39ef9aa88c72069c77/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConsts.java#L203
> 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
> Priority: Minor
>
> 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