The possible reason for this is, you have not added the above 2 jars in hadoop class path. Make sure you include these jars and then try to run the MR code.
If you are using edureka vm, then, goto /usr/lib/hadoop2.2/share/hadoop/common/lib and put the jars
If you have installed hadoop on your own, go /path_to_hadoop/share/hadoop/common/lib and put the jars.
Kindly try and let me know if this helps or not.
Modified on: Sat, 7 May, 2016 at 10:56 PM
Did you find it helpful?Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.