[ https://issues.apache.org/jira/browse/HDFS-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202256#comment-13202256 ]
Hudson commented on HDFS-2886: ------------------------------ Integrated in Hadoop-Hdfs-22-branch #126 (See [https://builds.apache.org/job/Hadoop-Hdfs-22-branch/126/]) HDFS-2886. CreateEditLogs should generate a realistic edit log. Contributed by Konstantin Shvachko. shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241312 Files : * /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java * /hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogLoader.java * /hadoop/common/branches/branch-0.22/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java * /hadoop/common/branches/branch-0.22/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java > CreateEditLogs should generate a realistic edit log. > ---------------------------------------------------- > > Key: HDFS-2886 > URL: https://issues.apache.org/jira/browse/HDFS-2886 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: 0.24.0, 0.23.1, 0.22.1 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Fix For: 0.24.0, 0.23.1, 0.22.1 > > Attachments: createLog-0.22.patch, createLog-trunk.patch > > > CreateEditsLog generates non-standard transactions. In real life first > transaction that creates a file does not contain blocks. While CreateEditsLog > adds blocks to this transaction. Change CreateEditsLog to produce real-life > transaction. > Also cleanup unused parameters for {{FSDirectory.updateFile()}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira