This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Hadoop and the fly likes datanode available:0 when installing hadoop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "datanode available:0 when installing hadoop" Watch "datanode available:0 when installing hadoop" New topic
Author

datanode available:0 when installing hadoop

mah gh
Greenhorn

Joined: Jan 18, 2013
Posts: 1
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: datanode available:0 when installing hadoop