You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Mark Kerzner <ma...@gmail.com> on 2009/02/02 00:39:26 UTC
HDFS formatting
Hi,
every time I start HDFD daemons, I need to format it first with
hadoop namenode -format
Why is this? I would expect to have to format it just once.
Thank you,
Mark
Re: HDFS formatting
Posted by jason hadoop <ja...@gmail.com>.
are you changing the definition of hadop.tmp.dir in the hadoop-site.xml
file.
1) the default location is in /tmp and your tmp watch cron job may be
deleteing the files
2) if you change the location, or the location is removed, you will need to
reformat.
On Sun, Feb 1, 2009 at 3:39 PM, Mark Kerzner <ma...@gmail.com> wrote:
> Hi,
>
> every time I start HDFD daemons, I need to format it first with
>
> hadoop namenode -format
>
> Why is this? I would expect to have to format it just once.
>
> Thank you,
> Mark
>