hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7617) Add editlog transactions for EC
Date Wed, 18 Mar 2015 07:36:38 GMT

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

Jing Zhao commented on HDFS-7617:

Hi Hui, while applying an editlog for adding a striped block, the "dataBlockNum" and "parityBlockNum"
information can be retrieved from the EC schema, which is associated with either the file
itself or its parental directory. Thus I do not think we need to serialize them in the editlog.

In the current code since the EC schema XAttr work is still in progress, we simply use HdfsConstants.NUM_DATA_BLOCKS
and HdfsConstants.NUM_PARITY_BLOCKS for block allocation. Maybe later you can use this jira
to update FSEditLogLoader after corresponding code gets committed.

> Add editlog transactions for EC
> -------------------------------
>                 Key: HDFS-7617
>                 URL: https://issues.apache.org/jira/browse/HDFS-7617
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Hui Zheng

This message was sent by Atlassian JIRA

View raw message