hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skater <xqfly...@163.com>
Subject Named node bug. It cost me a lot of time to figure it out
Date Thu, 17 Apr 2008 08:13:03 GMT

If the honst name like test_test_1
Then it will thrown
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)




You can use the following way to change
change hostname
/etc/hosts
/etc/sysconfig/network
hostname



-- 
View this message in context: http://www.nabble.com/Named-node-bug.-It-cost-me-a-lot-of-time-to-figure-it-out-tp16740901p16740901.html
Sent from the Hadoop core-dev mailing list archive at Nabble.com.


Mime
View raw message