03-24-2016 04:20 AM
I have a requirement where I am compiling a mapreduce with java 1.8 where as my yarn/mapreduce is built to use java 1.7. I need 1.8 because a library I am using can work only with 1.8.
Now the problem is when I run my mapreduce program it throws
java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0
Can you please help me run this specific mapreduce job using java 1.8.
Thank you all.
03-24-2016 04:27 AM
03-24-2016 04:30 AM
I came across http://stackoverflow.com/questions/33385645/hadoop-set-custom-jdk-path-version-in-job-configuration. Do you think this will work in any way ?