[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to