hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "GettingStartedWithHadoop" by DavidMenestrina
Date Thu, 30 Nov 2006 00:38:22 GMT
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.

Mime
View raw message