[ https://issues.apache.org/jira/browse/HDFS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Kelly updated HDFS-2149: ----------------------------- Attachment: HDFS-2149.diff Initial drop of the changes. I have yet to figure out what to do with BackupNode which is using the editlog data streams as control streams also. I've commented out two lines related to this until I figure out what to do. Surprisingly, TestBackupNode passes without issue. FSEditLog is using EditLogOutputStreams as OutputStreams now, and I've added code to add checksumming for all streams. Previously it was only happening for File streams, not backup streams. > Move EditLogOp serialisation and deserialation into one place > ------------------------------------------------------------- > > Key: HDFS-2149 > URL: https://issues.apache.org/jira/browse/HDFS-2149 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ivan Kelly > Assignee: Ivan Kelly > Fix For: 0.23.0 > > Attachments: HDFS-2149.diff > > > On trunk serialisation of editlog ops is in FSEditLog#log* and > deserialisation is in FSEditLogOp.*Op . This improvement is to move the > serialisation code into one place, i.e under FSEditLogOp.*Op. > This is part of HDFS-1580. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira