hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Sasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7826) Erasure Coding: Update INodeFile quota computation for striped blocks
Date Fri, 06 Mar 2015 02:35:38 GMT

    [ 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)

Mime
View raw message