Hadoop运行WordCount失败

时间:2017-09-08 10:05:42

标签: java hadoop

我尝试使用命令

在终端中运行WordCount
hadoop jar ~/Study/Hadoop/Jars/WordCount.jar \
WordCount /input/input_wordcount/ /output 

但它失败并出现以下错误:

https://travis-ci.org/LewisWatson/kafka-embedded-test/builds/273227986

如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

你正在运行vmware吗?在fisrt关闭防火墙! 试试hdfs-site.xml<property> <name>dfs.permissions</name> <value>false</value> </property> <property> <name>dfs.permissions.enabled</name> <value>false</value> </property>

food

中添加此配置
{
name: 'Pork meat',
category: 'Meat'
}