[
https://issues.apache.org/jira/browse/HDFS-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347970#comment-14347970
]
Kai Sasaki commented on HDFS-7826:
----------------------------------
Thank you for reviewing.
I understand about 1. I'll update.
I have a question about 2. Current `getBlocks` can handle striped blocks. So
its length is `m` + `k` (m data blocks and k parity blocks), right?
I think I can simply calculate storage space usage by adding all these block
size in block list returned from `getBlocks` because it includes data blocks
and parity blocks. Is there any oversight or misunderstanding?
> Erasure Coding: Update INodeFile quota computation for striped blocks
> ---------------------------------------------------------------------
>
> Key: HDFS-7826
> URL: https://issues.apache.org/jira/browse/HDFS-7826
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Jing Zhao
> Assignee: Kai Sasaki
> Attachments: HDFS-7826.1.patch
>
>
> Currently INodeFile's quota computation only considers contiguous blocks
> (i.e., {{INodeFile#blocks}}). We need to update it to support striped blocks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)