hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Kimball <aa...@cloudera.com>
Subject Re: Hadoop ReInitialization.
Date Wed, 03 Jun 2009 23:06:08 GMT
You can block for safemode exit by running 'hadoop dfsadmin -safemode wait'
rather than sleeping for an arbitrary amount of time.

More generally, I'm a bit confused what you mean by all this. Hadoop daemons
may individually crash, but you should never need to reformat HDFS and start
from scratch. If you're doing this, that means that you're probably sticking
some important hadoop files in a temp dir that's getting cleaned out or
something of the like. Are dfs.data.dir and dfs.name.dir suitably
well-protected from tmpwatch or other such "housekeeping" programs?

- Aaron

On Wed, Jun 3, 2009 at 4:50 AM, Steve Loughran <stevel@apache.org> wrote:

> b wrote:
>
>  But after formatting and starting DFS i need to wait some time (sleep 60)
>> before putting data into HDFS. Else i will receive
>> "NotReplicatedYetException".
>>
>
> that means the namenode is up but there aren't enough workers yet.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message