[ https://issues.apache.org/jira/browse/HDFS-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-2797: ------------------------------ Resolution: Fixed Fix Version/s: 2.0.1-alpha Target Version/s: (was: 0.24.0) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed this and merged to branch-2. Thanks Colin. > 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