Eclipse Hadoop插件说& quot; java.io.EOFException& quot;在尝试连接时 [英] Eclipse Hadoop Plugin says "java.io.EOFException" while trying to connect

查看:77
本文介绍了Eclipse Hadoop插件说& quot; java.io.EOFException& quot;在尝试连接时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 我正在尝试使用此处
  • 使用hadoop eclipse插件jar
  • 我的core-site.xml看起来具有以下内容:
  <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位置设置为

      • I set up hadoop location under mapreduce perspective in Eclipse as

        位置名称:本地Map Reduce Master

        Location Name: local Map Reduce Master

        • 主机:localhost
        • 端口:54310

        DFS管理员

        • 主机:本地主机
        • 端口:54311

      • 当我尝试连接时,出现错误提示:

      • When I try to connect it gives error saying:

        错误:在发生本地异常:java.io.EOFException时,对localhost/127.0.0.1:54311的调用失败

        Error: Call to localhost/127.0.0.1:54311 failed on local exception: java.io.EOFException

        • 有人可以帮助我解决此问题吗?
        • 谢谢

          推荐答案

          不幸的是,eclipse插件已过时,几个月前我设法使其正常运行,但这是一场噩梦,我不得不在那里更改许多参数:(

          Unfortunately eclipse plugin is outdated, few months ago I managed to get it working properly, but that was a nightmare, I had to change a lot of parameters there : (

          我建议使用基于Web的hdfs浏览:转到 http://localhost:50070 或任何其他主机您已经安装了hadoop,然后单击浏览文件系统"链接(上面的第一个蓝色链接),您将看到所需的全部内容.

          I would recommend to use a web based hdfs browsing: go to http://localhost:50070 or any other host you have installed hadoop, and click on "Browse the filesystem" link (the first blue link from above), you will see all you need.

          这篇关于Eclipse Hadoop插件说&amp; quot; java.io.EOFException&amp; quot;在尝试连接时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆