hadoop的Hadoop插件,连接拒绝错误

时间:2013-04-28 14:34:52

标签: hadoop

当我尝试在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位置窗口中,我尝试使用host作为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中,我看到了这个条目localhost:54311

1 个答案:

答案 0 :(得分:0)

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

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

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