AnsweredAssumed Answered

datanode available:0 when installing hadoop

Question asked by mahdiyeh on Jan 17, 2013
Latest reply on Feb 6, 2013 by peterconrad
i want to install  hadoop-0.23.5 on single node, but after starting namenode and datanode, it shows that the datanode available is 0:

Configured Capacity: 0 (0 KB)
Present Capacity: 0 (0 KB)
DFS Remaining: 0 (0 KB)
DFS Used: 0 (0 KB)
DFS Used%: �%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0

Datanodes available: 0 (0 total, 0 dead)

i checked the datanode log file and this is the error:

2012-12-25 03:36:45,984 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpll: DataNode metrics system shutdown complete.
2012-12-25 03:36:45,985 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
 at org.apache.hadoop.hdfs.DFSUtil.getNNServiceRpcAddresses(

i set dfs.namenode.rpc-address in hdfs-site.xml and i dont undrestand what the problem is.
does anybody know how could i fix this problem. tnx