File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "datanode available:0 when installing hadoop" Watch "datanode available:0 when installing hadoop" New topic

datanode available:0 when installing hadoop

mah gh

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 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

I agree. Here's the link:
subject: datanode available:0 when installing hadoop
It's not a secret anymore!