[ https://issues.apache.org/jira/browse/HDFS-8059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630027#comment-14630027 ]
Zhe Zhang commented on HDFS-8059: --------------------------------- Good thoughts Walter. If we don't plan to support too many combinations of schemas and cell sizes, we can store all combinations in a map and the key can even be a {{byte}}: {code} 0: RS-6-3 (schema), 64KB (cellSize) 1: RS-6-3 (schema), 128KB (cellSize) 2: RS-10-4 (schema), 1MB (cellSize) {code} In order to pursue this idea we need to build an abstraction for {{schema + cellSize}}. > Erasure coding: revisit how to store EC schema and cellSize in NameNode > ----------------------------------------------------------------------- > > Key: HDFS-8059 > URL: https://issues.apache.org/jira/browse/HDFS-8059 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: HDFS-7285 > Reporter: Yi Liu > Assignee: Yi Liu > Attachments: HDFS-8059.001.patch > > > Move {{dataBlockNum}} and {{parityBlockNum}} from BlockInfoStriped to > INodeFile, and store them in {{FileWithStripedBlocksFeature}}. > Ideally these two nums are the same for all striped blocks in a file, and > store them in BlockInfoStriped will waste NN memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)