[ 
https://issues.apache.org/jira/browse/HDFS-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Takanobu Asanuma updated HDFS-7687:
-----------------------------------
    Attachment: HDFS-7687.1.patch

I created an initial patch. The main codes in this patch are below.

# I separated {{collect\[File|Block\]Summary}} into 
{{collectReplicated\[File|Block\]Summary}} and 
{{collectEC\[File|Block\]Summary}}.
# I named or renamed some variables and outputs. For example, 
{{ReplicatedBlocks}} is {{ECBlockGroups}} in EC. And {{Replication}} or 
{{Replicas}} is {{ECBlocks}} in EC.
# I added EC summaries to Result#toString.

Please will you review this patch? I'm going to add some tests about this codes.

> Change fsck to support EC files
> -------------------------------
>
>                 Key: HDFS-7687
>                 URL: https://issues.apache.org/jira/browse/HDFS-7687
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Takanobu Asanuma
>         Attachments: HDFS-7687.1.patch
>
>
> We need to change fsck so that it can detect "under replicated" and corrupted 
> EC files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to