0 votes
1 view
in Big Data Hadoop & Spark by (3.1k points)
What does Safemode mean in Hadoop?

1 Answer

0 votes
by (6.7k points)

Safe mode is indicative of the administrative mode and this is used for maintenance purposes. For the hadoop HDFS cluster, this is a read-only mode and this mode forbids any modifications or changes to the blocks or file system present within the HDFS. So, basically, at the start of the Namenode, the following occurs:

  • The file system namespace is loaded from the last saved FsImage into the main memory and the log files are edited. 
  • After each merge, the log files are edited which in turn creates a new file system namespace.
  • All the block location data is received as block reports. 
  

When the HDFS is started up, Namenode goes into safe mode by default until the data nodes have reported that most of the blocks are functioning. 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...