hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmad Humayun" <ahmad.hu...@gmail.com>
Subject port out of range
Date Mon, 23 Jun 2008 19:31:55 GMT
Whenever I run bin/start-dfs.sh, I get this out of range port error:

starting namenode, logging to
/home/ahmad/bin/hadoop-0.16.3/bin/../logs/hadoop-ahmad-namenode-linux-main.out
Password:
localhost: starting datanode, logging to
/home/ahmad/bin/hadoop-0.16.3/bin/../logs/hadoop-ahmad-datanode-linux-main.out
Password:
localhost: starting secondarynamenode, logging to
/home/ahmad/bin/hadoop-0.16.3/bin/../logs/hadoop-ahmad-secondarynamenode-linux-main.out
localhost: Exception in thread "main" java.lang.IllegalArgumentException:
port out of range:-1
localhost:      at
java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
localhost:      at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:125)
localhost:      at
org.apache.hadoop.dfs.SecondaryNameNode.<init>(SecondaryNameNode.java:117)
localhost:      at
org.apache.hadoop.dfs.SecondaryNameNode.main(SecondaryNameNode.java:494)


Any ideas how to solve this? Do I need to open some port on my network ...
even though I am running hadoop on a single machine?

thanks

-- 
Ahmad Humayun
Research Assistant
Computer Science Dpt., LUMS
http://suraj.lums.edu.pk/~ahmadh
+92 321 4457315

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