Running wordcount program
7 Answer(s)
Deepthi
This means to say that the Jar u are trying to run is not in the classpath of the hadoop installation
Oct 27 2015 11:40 PM
Mirza Galib
@deepthi: I Tried setting the path according to the given instructions. Can you please explain in detail.
@mohan: I got these instructions from Karan's Google drive.
Oct 28 2015 06:17 AM
@mohan: I got these instructions from Karan's Google drive.
Abhijit-Dezyre Support
Hi Galib,
Hadoop didn't able to find the WordCount class at com.eng.demo.WordCount.
Commands are case-sensitive including class name. Please check whether you wrote it correctly.
Oct 28 2015 10:35 PM
Hadoop didn't able to find the WordCount class at com.eng.demo.WordCount.
Commands are case-sensitive including class name. Please check whether you wrote it correctly.
Abhijit-Dezyre Support
Hi Galib,
Please replace com.eng.demo.WordCount with WordCount.
Please share the output snapshot.
Oct 30 2015 12:47 AM
Please replace com.eng.demo.WordCount with WordCount.
Please share the output snapshot.
DeZyre Support
hi Galib,
The primary issue is, you are trying to execute a wrong class file. First find out what is the name of wordcount class within class3.jar using below step
tar -tvf class3.jar
once you see the exact class name for word count execute the class using
hadoop jar com.eng.demo.wordcount
Oct 31 2015 11:03 PM
The primary issue is, you are trying to execute a wrong class file. First find out what is the name of wordcount class within class3.jar using below step
tar -tvf class3.jar
once you see the exact class name for word count execute the class using
hadoop jar