hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skater <xqfly...@163.com>
Subject jobtracker can be started but NameNode failed to startup.java.lang.IllegalArgumentException: port out of range:-1
Date Tue, 15 Apr 2008 14:04:27 GMT

Hello guys: 
              I followed the tutorial, but I get the following error
finally: 
              Could you help me? 
Is this
http://hadoop.apache.org/core/docs/current/quickstart.html#SingleNodeSetup
Out of date? 

I tried a lot of times, but still get the following problem. 


bin/hadoop version 
Hadoop 0.16.2 
Subversion http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16
-r 642481 
Compiled by hadoopqa on Sat Mar 29 01:59:04 UTC 2008 

java -version 
java version "1.5.0_08" 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) 
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing) 


Thanks, 
skater 
2008-04-15 18:38:40,613 INFO org.apache.hadoop.dfs.NameNode: STARTUP_MSG: 
/************************************************************ 
STARTUP_MSG: Starting NameNode 
STARTUP_MSG:   host = qxu_test_1/127.0.0.1 
STARTUP_MSG:   args = [] 
STARTUP_MSG:   version = 0.16.2 
STARTUP_MSG:   build =
http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16 -r 642481;
compiled by 'hadoopqa' on Sat Mar 29 01:59:04 UTC 2008 
************************************************************/ 
2008-04-15 18:38:40,767 INFO org.apache.hadoop.ipc.metrics.RpcMetrics:
Initializing RPC Metrics with hostName=NameNode, port=7000 
2008-04-15 18:38:40,774 INFO org.apache.hadoop.dfs.NameNode: Namenode up at:
qxu_test_1/127.0.0.1:7000 
2008-04-15 18:38:40,778 INFO org.apache.hadoop.metrics.jvm.JvmMetrics:
Initializing JVM Metrics with processName=NameNode, sessionId=null 
2008-04-15 18:38:40,782 INFO org.apache.hadoop.dfs.NameNodeMetrics:
Initializing NameNodeMeterics using context
object:org.apache.hadoop.metrics.spi.NullContext 
2008-04-15 18:38:40,857 INFO org.apache.hadoop.fs.FSNamesystem:
fsOwner=qxu,wheel 
2008-04-15 18:38:40,857 INFO org.apache.hadoop.fs.FSNamesystem:
supergroup=supergroup 
2008-04-15 18:38:40,857 INFO org.apache.hadoop.fs.FSNamesystem:
isPermissionEnabled=true 
2008-04-15 18:38:41,002 INFO org.apache.hadoop.fs.FSNamesystem: Finished
loading FSImage in 176 msecs 
2008-04-15 18:38:41,005 INFO org.apache.hadoop.fs.FSNamesystem: Leaving
safemode after 179 msecs 
2008-04-15 18:38:41,005 INFO org.apache.hadoop.dfs.StateChange: STATE*
Network topology has 0 racks and 0 datanodes 
2008-04-15 18:38:41,005 INFO org.apache.hadoop.dfs.StateChange: STATE*
UnderReplicatedBlocks has 0 blocks 
2008-04-15 18:38:41,013 INFO org.apache.hadoop.fs.FSNamesystem: Registered
FSNamesystemStatusMBean 
2008-04-15 18:38:41,109 INFO org.mortbay.util.Credential: Checking Resource
aliases 
2008-04-15 18:38:41,187 INFO org.mortbay.http.HttpServer: Version
Jetty/5.1.4 
2008-04-15 18:38:41,701 INFO org.mortbay.util.Container: Started
org.mortbay.jetty.servlet.WebApplicationHandler@19e15c 
2008-04-15 18:38:41,756 INFO org.mortbay.util.Container: Started
WebApplicationContext[/,/] 
2008-04-15 18:38:41,756 INFO org.mortbay.util.Container: Started
HttpContext[/logs,/logs] 
2008-04-15 18:38:41,756 INFO org.mortbay.util.Container: Started
HttpContext[/static,/static] 
2008-04-15 18:38:41,759 INFO org.mortbay.http.SocketListener: Started
SocketListener on 0.0.0.0:50070 
2008-04-15 18:38:41,759 INFO org.mortbay.util.Container: Started
org.mortbay.jetty.Server@1fc2fb 
2008-04-15 18:38:41,759 INFO org.apache.hadoop.fs.FSNamesystem: Web-server
up at: 0.0.0.0:50070 
2008-04-15 18:38:41,759 INFO org.apache.hadoop.ipc.Server: IPC Server
Responder: starting 
2008-04-15 18:38:41,761 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 7000: starting 
2008-04-15 18:38:41,762 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 0 on 7000: starting 
2008-04-15 18:38:41,762 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 1 on 7000: starting 
2008-04-15 18:38:41,762 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 2 on 7000: starting 
2008-04-15 18:38:41,762 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 7000: starting 
2008-04-15 18:38:41,763 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 4 on 7000: starting 
2008-04-15 18:38:41,763 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 7000: starting 
2008-04-15 18:38:41,763 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 6 on 7000: starting 
2008-04-15 18:38:41,763 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 7 on 7000: starting 
2008-04-15 18:38:41,763 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 8 on 7000: starting 
2008-04-15 18:38:41,779 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 9 on 7000: starting 

<============================================================================ 
2008-04-15 18:38:41,796 ERROR org.apache.hadoop.dfs.NameNode:
java.lang.IllegalArgumentException: port out of range:-1 
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) 
        at
org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:65) 
        at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1180) 
        at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:53) 
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1191) 
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:148) 
        at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:122) 
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:94) 
        at org.apache.hadoop.fs.Trash.<init>(Trash.java:63) 
        at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:134) 
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:176) 
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:162) 
        at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:846) 
        at org.apache.hadoop.dfs.NameNode.main(NameNode.java:855) 
<============================================================================
-- 
View this message in context: http://www.nabble.com/jobtracker-can-be-started-but-NameNode-failed-to-startup.java.lang.IllegalArgumentException%3A-port-out-of-range%3A-1-tp16700796p16700796.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message