AnsweredAssumed Answered

Lab DEV 301 1.1 -- How do you correctly execute the wordcount command?

Question asked by johniccp on May 19, 2016
Latest reply on May 27, 2016 by johniccp


I am following a nearly identical path to another member, Sim _ , who had difficulty with the DEV 301 Exercise 1.1. See: Lab Dev 301 Exercise 1.1 Not a Valid JAR


Difference one, my sandbox is on Windows 8.1 whereas his was on OS X.

Difference two, my Hadoop version is 2.7.0, whereas his was 2.5.1.


I did steps 1, 2, and 3 without difficulty, checking each step.

Step 4.

$ hadoop jar /opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.0-mapr-1506.jar wordcount /user/user01/1.1/IN1 /user/user01/1.1/OUT1


After executing this command, I get error messages similar to SIM's and no OUT1 directory, no part-r-00000 file.


Question 1, how to correctly execute the wordcount command.

Question 2, how to copy the error messages from his sandbox to this forum, as SIM did.


Thank you,