Format NameNode

The following code is used to format the NameNode:

    cd /opt/Hadoop/Hadoop/bin
    
    hadoop -namenode  -format
  

Get Modern Big Data Processing with Hadoop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.