[
https://issues.apache.org/jira/browse/HDFS-6315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020215#comment-14020215
]
Haohui Mai commented on HDFS-6315:
----------------------------------
The v3 patch moves the edit log operations for both {{rename}} and {{delete}}
to {{FSNameSystem}} based on the v2 patch. There are three edit log operations
remaining: {{mkdir}}, {{logAddSymlink}}, and {{closeFile}}. I plan to address
the first two in HDFS-6330, and the later one in a separate jira.
> Decouple recording edit logs from FSDirectory
> ---------------------------------------------
>
> Key: HDFS-6315
> URL: https://issues.apache.org/jira/browse/HDFS-6315
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-6315.000.patch, HDFS-6315.001.patch,
> HDFS-6315.002.patch, HDFS-6315.003.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)