[ https://issues.apache.org/jira/browse/HDFS-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293020#comment-13293020 ]
Hudson commented on HDFS-2797: ------------------------------ Integrated in Hadoop-Hdfs-trunk-Commit #2414 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2414/]) HDFS-2797. Fix misuses of InputStream#skip in the edit log code. Contributed by Colin Patrick McCabe (Revision 1348945) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1348945 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EditLogFileInputStream.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogLoader.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/StreamLimiter.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestEditLogsDuringFailover.java > Fix misuses of InputStream#skip in the edit log code > ---------------------------------------------------- > > Key: HDFS-2797 > URL: https://issues.apache.org/jira/browse/HDFS-2797 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha, name-node > Affects Versions: 2.0.0-alpha > Reporter: Aaron T. Myers > Assignee: Colin Patrick McCabe > Fix For: 2.0.1-alpha > > Attachments: HDFS-2797.001.patch, HDFS-2797.002.patch, > HDFS-2797.003.patch > > > Fix some misuses of InputStream#skip in the edit log code. > Also add a test. The existing failover tests only cover the case of graceful > shutdown. We should make sure the standby NN can become active even when the > final transaction in an edit log is only partially written to disk. -- 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