hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "GettingStartedWithHadoop" by DavidBiesack
Date Fri, 11 Feb 2011 20:44:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "GettingStartedWithHadoop" page has been changed by DavidBiesack.
The comment on this change is: Y or N means Y or N, not y or n.


  === Formatting the Namenode ===
  The first step to starting up your Hadoop installation is formatting the Hadoop filesystem,
which is implemented on top of the local filesystems of your cluster. You need to do this
the first time you set up a Hadoop installation. '''Do not''' format a running Hadoop filesystem,
this will cause all your data to be erased.  Before formatting, ensure that the {{{dfs.name.dir}}}
directory exists.  If you just used the default, then {{{mkdir -p /tmp/hadoop-username/dfs/name}}}
will create the directory.  To format the filesystem (which simply initializes the directory
specified by the {{{dfs.name.dir}}} variable), run the command: <<BR>> {{{% $HADOOP_INSTALL/hadoop/bin/hadoop
namenode -format}}}
+ If asked to [re]format, you must reply Y (not just y) if you want to reformat, else Hadoop
will abort the format.
  === Starting a Single node cluster ===
  Run the command: <<BR>> {{{% $HADOOP_INSTALL/hadoop/bin/start-all.sh}}} <<BR>>
This will startup a Namenode, Datanode, Jobtracker and a Tasktracker on your machine.

View raw message