[ https://issues.apache.org/jira/browse/HDFS-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012898#comment-13012898 ]
Ivan Kelly commented on HDFS-1580: ---------------------------------- I'd like to keep the pluggable bit (JournalFactory, or JournalWriter&JournalReader) to one interface for ease of configuration. Otherwise when a user specifies a custom journal type in their configuration, they'll have to specify the class for the Writer and for the Reader. The EditLogOutputStream i proposed won't coexist with the current EditLogOutputStream, it will replace it. We need a single interface for writing the edit log, so that FSEditLog can loop through all the streams and treat them the same. I like the idea of TxnRecord. > Add interface for generic Write Ahead Logging mechanisms > -------------------------------------------------------- > > Key: HDFS-1580 > URL: https://issues.apache.org/jira/browse/HDFS-1580 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ivan Kelly > Attachments: HDFS-1580+1521.diff, HDFS-1580.diff, > generic_wal_iface.pdf, generic_wal_iface.pdf, generic_wal_iface.pdf, > generic_wal_iface.txt > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira