You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2022/08/29 20:52:00 UTC
[jira] [Commented] (HDDS-4503) Provide info on block size via FileSystem
[ https://issues.apache.org/jira/browse/HDDS-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597391#comment-17597391 ]
Michael Smith commented on HDDS-4503:
-------------------------------------
The way this was implemented seems strange to me. My read is
- default block size is the only block size written by datanodes
- datanodes use their configured default block size when writing files (rather than accepting it as a parameter or querying it from other Ozone services)
- getDefaultBlockSize look at client config, which must now be kept in-sync with server config to accurately reflect how blocks will be written
Is that correct?
> Provide info on block size via FileSystem
> -----------------------------------------
>
> Key: HDDS-4503
> URL: https://issues.apache.org/jira/browse/HDDS-4503
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Filesystem
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> Provide information about Ozone's configured block size via Hadoop-compatible file system implementations: {{getDefaultBlockSize()}} and {{getDefaultBlockSize(Path)}} in {{FileSystem}}.
--
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