[
https://issues.apache.org/jira/browse/HDFS-12979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856051#comment-16856051
]
Konstantin Shvachko commented on HDFS-12979:
--------------------------------------------
Wanted to emphasize that with this change Active NN will be rejecting
checkpoints if it's latest image is not old enough as per its knowledge (=
configuration). So if somebody wants more frequent checkpoints he should change
configuration on the active NN. Prior to this change reconfiguration of ANN was
not required, you needed only to restart SBN.
I think this is not a problem though, since in HA case failing over ANN to one
of SBNs is cheap, and can be done in rolling fashion for changing configuration
uniformly on all NNs.
In the future we may want to add a parameter to the checkpointer HttpRequest to
force ANN to accept the image no matter what.
> StandbyNode should upload FsImage to ObserverNode after checkpointing.
> ----------------------------------------------------------------------
>
> Key: HDFS-12979
> URL: https://issues.apache.org/jira/browse/HDFS-12979
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs
> Reporter: Konstantin Shvachko
> Assignee: Chen Liang
> Priority: Major
> Attachments: HDFS-12979.001.patch, HDFS-12979.002.patch,
> HDFS-12979.003.patch, HDFS-12979.004.patch, HDFS-12979.005.patch,
> HDFS-12979.006.patch, HDFS-12979.007.patch, HDFS-12979.008.patch,
> HDFS-12979.009.patch, HDFS-12979.010.patch, HDFS-12979.011.patch
>
>
> ObserverNode does not create checkpoints. So it's fsimage file can get very
> old making bootstrap of ObserverNode too long. A StandbyNode should copy
> latest fsimage to ObserverNode(s) along with ANN.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]