[ https://issues.apache.org/jira/browse/HDFS-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288231#comment-13288231 ]
Colin Patrick McCabe commented on HDFS-2797: -------------------------------------------- Thanks, atm. On closer examination, there's already IOUtils#skipFully, which does exactly what I want. > HA: Add a test for the standby becoming active after a partial transaction is > logged > ------------------------------------------------------------------------------------ > > Key: HDFS-2797 > URL: https://issues.apache.org/jira/browse/HDFS-2797 > Project: Hadoop HDFS > Issue Type: Test > Components: ha, name-node > Affects Versions: 0.24.0 > Reporter: Aaron T. Myers > Assignee: Colin Patrick McCabe > Attachments: HDFS-2797.001.patch, HDFS-2797.002.patch > > > 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