hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11633) FSImage loading fallback may disable all erasure coding policies
Date Fri, 07 Apr 2017 08:20:41 GMT

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

Kai Zheng commented on HDFS-11633:
----------------------------------

Hi [~jojochuang],

I saw you only added some test codes and am not clear how it would fix the reported issue.

The enabled erasure coding policies are from a configuration and then maintained in the ErasureCodingPolicyManager.
You mean there is some case that the policies can be cleared?

> FSImage loading fallback may disable all erasure coding policies 
> -----------------------------------------------------------------
>
>                 Key: HDFS-11633
>                 URL: https://issues.apache.org/jira/browse/HDFS-11633
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding, namenode
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Critical
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-11633.001.patch, HDFS-11633.test.patch
>
>
> If NameNode fails to load the fsimage in the first NameNode metadata directory, it accidentally
clears all enabled erasure coding policies in ErasureCodingPolicyManager.
> Even if the NameNode configures multiple fsimage metadata directory and it successfully
loads the second one, enabled erasure coding policies are not restored.
> In the current implementation, we do not have a ErasureCodingPolicyManager section in
fsimage, so a fsimage reload does not reload ECPM.
> The easiest fix before ECPM section is implemented, is don't clear ECPM when FSNamesystem
is cleared.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message