[ 
https://issues.apache.org/jira/browse/HDFS-8494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577558#comment-14577558
 ] 

Zhe Zhang commented on HDFS-8494:
---------------------------------

We can also consider creating a data structure with both EC schema and 
{{cellSize}} to represent _EC policy_ for the file. Something like 
{{ErasureCodingZone}}, but minus the {{dir}}. [~vinayrpet] I think we discussed 
this under HDFS-8375 and HDFS-8408. What's your take on this?

> Remove hard-coded chunk size in favor of ECZone
> -----------------------------------------------
>
>                 Key: HDFS-8494
>                 URL: https://issues.apache.org/jira/browse/HDFS-8494
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: HDFS-7285
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8494-HDFS-7285-01.patch, 
> HDFS-8494-HDFS-7285-02.patch
>
>
> It is necessary to remove hard-coded values inside NameNode configured in 
> {{HdfsConstants}}. In this JIRA, we can remove {{chunkSize}} gracefully in 
> favor of HDFS-8375.
> Because {{cellSize}} is now originally stored only in {{ErasureCodingZone}}, 
> {{BlockInfoStriped}} can receive {{cellSize}} in addition to {{ECSchema}} 
> when its initialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to