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

Jing Zhao commented on HDFS-7826:
---------------------------------

{{ceil ((getNumBytes() / (dataBlockNum * 64KB))}} returns the number of 
stripes, since 64KB is chunk size and {{getNumBytes}} returns the size of all 
the data. Then for each striped we have {{64KB * parityBlockNum}} size of 
parity data.

> 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