hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8308) Erasure Coding: NameNode may get blocked in waitForLoadingFSImage() when loading editlog
Date Fri, 01 May 2015 00:38:06 GMT

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

Tsz Wo Nicholas Sze updated HDFS-8308:
--------------------------------------
    Hadoop Flags: Reviewed

+1 patch looks good.

> Erasure Coding: NameNode may get blocked in waitForLoadingFSImage() when loading editlog
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-8308
>                 URL: https://issues.apache.org/jira/browse/HDFS-8308
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-8308.000.patch
>
>
> 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)

Mime
View raw message