Consider a scenario where a NameNode restarts. Before restart, you had a file named
a.txt which you named to b.txt and then renamed to c.txt. FSImage will have a a.txt while
the edit log will have record of the two renames (a->b)(b->c). When the Namenode restarts
and the FSImage merges with the edit log to produce a new FSImage, what will be the new
FSImage and edit log contain?
a.txt which you named to b.txt and then renamed to c.txt. FSImage will have a a.txt while
the edit log will have record of the two renames (a->b)(b->c). When the Namenode restarts
and the FSImage merges with the edit log to produce a new FSImage, what will be the new
FSImage and edit log contain?
FSImage has c.txt with the edit log being empty
Well Done. Your Answer is Correct Keep it Up!
FSImage has b.txt with the edit log having a record of one rename (b->c)
FSImage has b.txt with the edit log having a record of the two renames (a->b)(b->c)
FSImage has a.txt with the edit log having a record of the two renames (a->b)(b->c)