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

Kai Sasaki commented on HDFS-7826:
----------------------------------

I'm so sorry. I made a mistake. 

So chunk size of data blocks and the chunk size of parity blocks are always 
same, 64KB. And the number of srtipes is also the same between data blocks and 
parity blocks. Can I calculate the used space with this calculation?
{{(getNumBytes() * (dataBlockNum + parityBlockNum)) / dataBlockNum;}}

> 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, HDFS-7826.2.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)

Reply via email to