[
https://issues.apache.org/jira/browse/HDFS-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2291:
------------------------------
Attachment: hdfs-2291.txt
New iteration of the patch handles canceling checkpoints if a failover happens
in the middle of the process.
There is still one very narrow race where the cancellation doesn't work -- but
it won't cause a crash or anything, just a delayed failover. I'd like to
address that in a followup since it wasn't simple to fix.
I took the liberty of refactoring some common configuration code out into a new
CheckpointConf class.. hope that's OK.
I'll probably upload one more rev of this patch with better comments/javadoc,
but this should be ready for general review.
> HA: Checkpointing in an HA setup
> --------------------------------
>
> Key: HDFS-2291
> URL: https://issues.apache.org/jira/browse/HDFS-2291
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Aaron T. Myers
> Assignee: Todd Lipcon
> Fix For: HA branch (HDFS-1623)
>
> Attachments: hdfs-2291.txt, hdfs-2291.txt
>
>
> We obviously need to create checkpoints when HA is enabled. One thought is to
> use a third, dedicated checkpointing node in addition to the active and
> standby nodes. Another option would be to make the standby capable of also
> performing the function of checkpointing.
--
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