[ https://issues.apache.org/jira/browse/HDFS-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026852#comment-13026852 ]
dhruba borthakur commented on HDFS-1580: ---------------------------------------- Nice document. can you pl describe the error situations in more detail: 1. what happens when the write to the outputstream throws an expcetion? can the client continue to write new transactions to the stream? 2. what happens when the InputStream.read() encounters a partial transaction? 3. from the InputStream, is it possible to know how many transactions are available (without actually reading till the end of the stream)? > 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 > Fix For: Edit log branch (HDFS-1073) > > Attachments: EditlogInterface.1.pdf, HDFS-1580+1521.diff, > HDFS-1580.diff, HDFS-1580.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