Dear Wiki user,

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

The following page has been changed by DavidMenestrina:
http://wiki.apache.org/lucene-hadoop/GettingStartedWithHadoop

The comment on the change is:
Add instructions to create the dfs.name.dir directory before formatting.

------------------------------------------------------------------------------
    * {{{mapred.local.dir}}}
  
  === 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. 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}}}
+ 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}}}
+ 
+ 
  
  === 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.

Reply via email to