【发布时间】:2012-02-03 23:25:54
【问题描述】:
<property> <name>fs.default.name</name> <value>hdfs://localhost:54310</value> <description>The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem.</description> </property> </configuration>
- 我的 mapred-site.xml 有以下内容
<property> <name>mapred.job.tracker</name> <value>localhost:54311</value> <description>The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task. </description> </property>
-
我在 Eclipse 中的 mapreduce 透视图下设置 hadoop 位置为
位置名称:本地 Map Reduce Master
- 主机:本地主机
- 端口:54310
DFS 大师
- 主机:本地主机
- 端口:54311
当我尝试连接时出现错误提示:
错误:本地异常调用 localhost/127.0.0.1:54311 失败:java.io.EOFException
- 谁能帮我解决这个问题?
谢谢
【问题讨论】:
-
可能是版本不匹配。你的 Hadoop 版本是什么?你能发布更多的堆栈跟踪吗?
标签: java eclipse apache ubuntu hadoop