我想在单个节点上安装hadoop-0.23.5,但在启动namenode和datanode之后,它显示可用的datanode为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)
我检查了datanode日志文件,这是错误:
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.
我在hdfs-site.xml中设置了dfs.namenode.rpc-address,我不明白这是什么问题。有谁知道我怎么能解决这个问题。