You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "SUYEON LEE (Jira)" <ji...@apache.org> on 2020/06/22 04:37:00 UTC

[jira] [Commented] (HDFS-12979) StandbyNode should upload FsImage to ObserverNode after checkpointing.

    [ https://issues.apache.org/jira/browse/HDFS-12979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141690#comment-17141690 ] 

SUYEON LEE commented on HDFS-12979:
-----------------------------------

[~vagarychen] 

I think branch-2 patch has a mistaken. When I tested original code(apache hadoop 2.10.0) with mvn test, it failed at TestBookKeeperHACheckpoints>TestStandbyCheckpoints.testStandbyAndObserverState. So I found test code has difference. 
{code:java}
// what I found this
@Test(timeout = 300000)
public void testStandbyAndObserverState() throws Exception {
  // Transition 2 to observer
  cluster.transitionToObserver(1); // -> Is this right? I think it has to be changed to 2.
...
}{code}
please, check this. Am I right?

> 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
>             Fix For: 2.10.0, 3.3.0, 3.1.4, 3.2.2
>
>         Attachments: HDFS-12979-branch-2.001.patch, 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, HDFS-12979.012.patch, HDFS-12979.013.patch, HDFS-12979.014.patch, HDFS-12979.015.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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org