Trying to run Hadoop Map Reduce example in Cloudera


3 Answer(s)


I'm trying to run this in the VM Ware machine.


Hi Blaine,

You are getting following error: Unsupported major.minor version 51.0.

The reason is you have compiled the mapreduce jar in different version while creating and running in different version.

For example: You have created the jar with java-8 and trying to run in java-7 environment.

Hope this helps.


Ok I understand the problem but how do I fix this?  From my understanding I need to create the jar and run the jar using the same java version. I'm not aware of how to do this. Do I need to use the Java Version the the Cloudera VM uses?