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.
192191