我正在使用Ubuntu并使用Eclipse来使用Hadoop。在设置运行配置后,一条消息显示为Incomplete HDFS URI, no host
更新:找到解决方案了!但是在运行程序之后,消息中写着Server IPC version 9 cannot communicate with client version 4
解决方案:我似乎添加了一个用于Hadoop 1版本的jar文件。删除它并放置一个新版本:)
谢谢
发布于 2016-04-21 04:16:45
查找核心-site.xml。我的看起来是这样的:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost/</value>
</property>
</configuration>
当我从Eclipse运行代码时。
另外,请确保/usr/lib/ Hadoop /lib/*..jar(我有Cloudera发行版)在您的构建路径中。
https://askubuntu.com/questions/759761
复制相似问题