You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:16:35 UTC

[jira] [Created] (HDFS-10062) CLONE - Erasure Coding: NameNode may get blocked in waitForLoadingFSImage() when loading editlog

dragon created HDFS-10062:
-----------------------------

             Summary: CLONE - Erasure Coding: NameNode may get blocked in waitForLoadingFSImage() when loading editlog
                 Key: HDFS-10062
                 URL: https://issues.apache.org/jira/browse/HDFS-10062
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Jing Zhao
             Fix For: HDFS-7285


If the editlog contains a transaction for creating an EC file, the NN will get blocked in {{waitForLoadingFSImage}} because the following call path:

FSDirectory#addFileForEditLog --> FSDirectory#isInECZone --> FSDirectory#getECSchema --> ECZoneManager#getECSchema --> ECZoneManager#getECZoneInfo --> FSNamesystem#getSchema --> waitForLoadingFSImage

This jira plans to fix this bug and also do some code cleanup.



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