hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lary <davidl...@gmail.com>
Subject DFS error
Date Fri, 08 Oct 2010 20:01:09 GMT
Please can someone help.

Tried to set up pseudo-distributed mode for DFS. When I do start-dfs.sh I get the error message
below, and am not sure what it means. Any help would be most appreciated.

Thanks

David

The conf/hdfs-site.xml file contains:
<configuration>
	<property>
		<name>fs.defaults.name</name>
		<value>hdfs://localhost:8020</value>
	</property>
</configuration>



$ start-dfs.sh
starting namenode, logging to /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-namenode-129.110.31.40.out
localhost: starting datanode, logging to /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-datanode-129.110.31.40.out
localhost: starting secondarynamenode, logging to /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-secondarynamenode-129.110.31.40.out
localhost: Exception in thread "main" java.lang.NullPointerException
localhost: 	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
localhost: 	at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:156)
localhost: 	at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:160)
localhost: 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:131)
localhost: 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:115)
localhost: 	at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:469)




Mime
View raw message