Garmaine Staff asked 2 years ago
asd@ubuntu:~/hadoop/hadoop-3.1.3/share/hadoop/mapreduce$ ls
hadoop-mapreduce-client-app-3.1.3.jar              hadoop-mapreduce-client-shuffle-3.1.3.jar
hadoop-mapreduce-client-common-3.1.3.jar           hadoop-mapreduce-client-uploader-3.1.3.jar
hadoop-mapreduce-client-core-3.1.3.jar             hadoop-mapreduce-examples-3.1.3
hadoop-mapreduce-client-hs-3.1.3.jar               hadoop-mapreduce-examples-3.1.3.jar
hadoop-mapreduce-client-hs-plugins-3.1.3.jar       jdiff
hadoop-mapreduce-client-jobclient-3.1.3.jar        lib
hadoop-mapreduce-client-jobclient-3.1.3-tests.jar  lib-examples
hadoop-mapreduce-client-nativetask-3.1.3.jar       sources

This is the error I am getting:

asd@ubuntu:~$ hadoop/hadoop-3.1.3/bin/hadoop jar /hadoop/hadoop-3.1.3/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar AggregateWordCount ~/input ~/wordcount_example 'allowed[.]*'
JAR does not exist or is not a normal file: /hadoop/hadoop-3.1.3/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.3.jar

I followed the set up from here and performed all the operations on Ubuntu 18.04 set up on my VMware