J.Doe
J.Doe

Reputation: 39

Hadoop run WordCount Failed

I tried to run WordCount in terminal with command

hadoop jar ~/Study/Hadoop/Jars/WordCount.jar \
WordCount /input/input_wordcount/ /output 

but it failed with the following error:

enter image description here

How to solve this?

Upvotes: 0

Views: 82

Answers (1)

HbnKing
HbnKing

Reputation: 1882

are you running on vmware ! close the fire wall at fisrt ! try service iptables stop or chkconfig iptables off

add this configuration in hdfs-site.xml

<property>
        <name>dfs.permissions</name>
        <value>false</value>
    </property>
    <property>
        <name>dfs.permissions.enabled</name>
        <value>false</value>
    </property>

Upvotes: 1

Related Questions