hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yang Zhou" <yangzhou.e...@gmail.com>
Subject HELP: Namenode Startup Failed with an OutofMemoryError
Date Fri, 24 Oct 2008 08:11:41 GMT
Hi everyone,

I have a problem about Hadoop startup.

I failed to startup the namenode and I got the following exception in the
namenode log file:
2008-10-23 21:54:51,223 INFO org.mortbay.http.SocketListener: Started
SocketListener on 0.0.0.0:50070
2008-10-23 21:54:51,224 INFO org.mortbay.util.Container: Started
org.mortbay.jetty.Server@ef2c60
2008-10-23 21:54:51,224 INFO org.apache.hadoop.fs.FSNamesystem: Web-server
up at: 0.0.0.0:50070
2008-10-23 21:54:51,224 INFO org.apache.hadoop.ipc.Server: IPC Server
Responder: starting
2008-10-23 21:54:51,226 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 58310: starting
2008-10-23 21:54:51,227 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 0 on 58310: starting
2008-10-23 21:54:51,227 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 1 on 58310: starting
2008-10-23 21:54:51,227 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 2 on 58310: starting
2008-10-23 21:54:51,227 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 58310: starting
2008-10-23 21:54:51,228 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 4 on 58310: starting
2008-10-23 21:54:51,232 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 58310: starting
2008-10-23 21:54:51,232 ERROR org.apache.hadoop.dfs.NameNode:
java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:597)
        at org.apache.hadoop.ipc.Server.start(Server.java:991)
        at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:149)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
        at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:830)
        at org.apache.hadoop.dfs.NameNode.main(NameNode.java:839)

How can I fix it? Does it mean that my machine doesn't have enough memory
for Hadoop startup?
Any help will be appreciated!
Thanks in advance.

-Woody

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