[
https://issues.apache.org/jira/browse/HDFS-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-2797:
---------------------------------------
Description:
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.
was: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.
Issue Type: Bug (was: Test)
Summary: Fix misuses of InputStream#skip in the edit log code (was:
HA: Add a test for the standby becoming active after a partial transaction is
logged)
> 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: 0.24.0
> Reporter: Aaron T. Myers
> Assignee: Colin Patrick McCabe
> 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