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

Haohui Mai commented on HDFS-6315:
----------------------------------

Sorry. It looks like HDFS-5693 makes some optimization that holds the lock of 
FSDirectory without holding the lock of FSNamesystem. The change can be 
reverted when removing the lock of FSDirectory.

> Decouple recording edit logs from FSDirectory
> ---------------------------------------------
>
>                 Key: HDFS-6315
>                 URL: https://issues.apache.org/jira/browse/HDFS-6315
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-6315.000.patch, HDFS-6315.001.patch
>
>
> Currently both FSNamesystem and FSDirectory record edit logs. This design 
> requires both FSNamesystem and FSDirectory to be tightly coupled together to 
> implement a durable namespace.
> This jira proposes to separate the responsibility of implementing the 
> namespace and providing durability with edit logs. Specifically, FSDirectory 
> implements the namespace (which should have no edit log operations), and 
> FSNamesystem implement durability by recording the edit logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to