A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Placing Namenode in safemode and Perform checkpoint

Normally in real environment secondary node performs checkpoint operation and keep syncing with active namenode to keep latest FSimage.  In HA environment active namenode writes edit log into  journal node and standby node go and get the edit log and create new FSimage.

[hdfs@datanode1 ~]$ hdfs dfsadmin -safemode get
Safe mode is OFF

[hdfs@datanode1 ~]$ hdfs dfsadmin -safemode enter
Safe mode is ON

[hdfs@datanode1 ~]$ hdfs dfsadmin -saveNamespace       (checkpoint command)
Save namespace successful

[hdfs@datanode1 ~]$ hdfs dfsadmin -safemode leave
Safe mode is OFF

 

 

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>