Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

datanode available:0 when installing hadoop

 
mah gh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, 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:


FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain
java.io.IOException: Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured

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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic