[
https://issues.apache.org/jira/browse/HDFS-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750010#action_12750010
]
Kan Zhang commented on HDFS-578:
--------------------------------
I suggest we bundle the 3 params (blockSize, bytesPerChecksum and
writePacketSize) together. If a client decides to use server default for
blockSize, then all 3 will use server defaults. If a (sophisticated) client
decides not to use server default for blockSize, then the client has to provide
valid values for all 3 params. In particular, the validation that blockSize
matches bytesPerChecksum is done at the client side since currently
bytesPerChecksum is not sent to the namenode on the create() call. but I'm open
to adding this param to the create() call so that it can be validated on the
namenode. Thoughts?
> Support for using server default values for blockSize and replication when
> creating a file
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-578
> URL: https://issues.apache.org/jira/browse/HDFS-578
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client, name-node
> Reporter: Kan Zhang
> Assignee: Kan Zhang
>
> This is a sub-task of HADOOP-4952. This improvement makes it possible for a
> client to specify that it wants to use the server default values for
> blockSize and replication params when creating a file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.