I read this line
when you are starting namenode, latest fsimage file is load into “in-memory”. and at the same time, edit log file is also loaded into memory if fsimage file doesn’t contain up-to date information
from https://data-flair.training/forums/topic/in-which-location-namenode-stores-its-metadata-and-why/ they are using term "in-memory" and "memory" are they different ?
CodePudding user response:
No they aren't different. They are loaded into RandomAccessFile if that helps to think about. For reference here is FSImage. To help you see how this is done.