1

当我尝试在 Eclipse 中配置 hadoop 插件时出现以下错误。

Error:call to localhost:54310 failed on connection exception:java.net.connectException:Connection refused:no further informaion

Hadoop版本是1.0.4

我已经在 Linux 中安装了 hadoop,并且正在使用 Windows 运行我的 Eclipse。在 hadoop 位置窗口中,我尝试使用主机作为 localhost 和 linux 服务器。

MR Master: Host: localhost and port 54311
DFS Master: Host: localhost and port 54310

MR Master: Host: <Linux server name> and port 54311
DFS Master: Host: <Linux server name> and port 54310

在我的 mapred-site.xml 中,我看到了这个 entry entry localhost:54311

4

1 回答 1

0

ConnectionRefused 错误是,您正在尝试连接您没有读/写权限的目录。

这可能是由于一个目录创建了另一个用户(例如 root),而您的主机正在尝试读取/写入该目录。

您更有可能尝试从错误的位置读取输入。检查你的输入目录,如果没有问题,检查你的输出目录

于 2013-04-29T09:53:22.773 回答