FAQ
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 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.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupcommon-user @
categorieshadoop
postedJun 3, '09 at 10:14a
activeJun 3, '09 at 11:06p
posts3
users3
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase