Hadoop start up steps

Let's get started with Hadoop using the following steps:

  1. Format NameNode.

    Before starting up the Hadoop daemons, we need to format NameNode. This is like formatting a new disk. We know that just as we bring a new disk drive and format it to a file system (FAT, NTFS, ExtFS), we format NameNode. This process creates a logical layer of HDFS on top of the file system.

    Note

    <hadoop directory path> can be added to the system path to call the hadoop command directly. Follow http://www.cyberciti.biz/faq/unix-linux-adding-path/ for various options.

    The following line will format NameNode and make it available to read and write files from HDFS. This command prepares the HDFS file system:

    <hadoop directory path>/bin/hdfsnamenode –format ...

Get Learning HBase 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.