[ https://issues.apache.org/jira/browse/HDFS-6315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haohui Mai updated HDFS-6315: ----------------------------- Resolution: Fixed Fix Version/s: 2.5.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed the patch to trunk and branch-2. Thanks [~jingzhao] for the review. > 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 > Fix For: 2.5.0 > > Attachments: HDFS-6315.000.patch, HDFS-6315.001.patch, > HDFS-6315.002.patch, HDFS-6315.003.patch, HDFS-6315.004.patch, > HDFS-6315.005.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)