Error: com/eng/mr/WordCountDriver : Unsupported major.minor version 52.0

+1 vote
When I run MapReduce Program on CHD4 and when I submit a Job to Server : I got the above error. Can anyone suggest how can I solve it?
Aug 5 in Big Data Hadoop by Disha
38 views

2 answers to this question.

+1 vote

Hi,

You are getting the following error because you are using the different libraries while creating the jar and while running the jar.

For example, you are using the JRE-1.6 libraries to create jar and use JRE-1.8 to run the jar without setting the compatibility inside the jar.

You can open the project in the Eclipse and change the libraries to compatible version with your execution environment.

Hope this helps.

answered Aug 5 by Gitika
• 25,340 points
+2 votes
The reason why you get this error is because of the different version of your JDK. We are using JDK 1.8 in our image and you should most probably be using a higher version of JDK on your local system.
answered Aug 6 by Venkita
• 240 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Sqoop version compatible with Hadoop 0.20?

Apache Sqoop has 2 major projects i.e. ...READ MORE

answered May 9, 2018 in Big Data Hadoop by Shubham
• 13,300 points
146 views
0 votes
1 answer

Hadoop Mapreduce: Error: Could not find or load main class com.sun.tools.javac.Main

You have to add HADOOP_CLASSPATH environment parameter: export ...READ MORE

answered Oct 30, 2018 in Big Data Hadoop by Omkar
• 67,660 points
470 views
0 votes
1 answer

Hadoop: Error: Could not find or load main class com.sun.tools.javac.Main

It looks like the path is not ...READ MORE

answered Nov 29, 2018 in Big Data Hadoop by Omkar
• 67,660 points
686 views
–1 vote
1 answer

Spark multiple version without major version

Yes. It is not necessary to set ...READ MORE

answered Dec 27, 2018 in Big Data Hadoop by Omkar
• 67,660 points
47 views
+1 vote
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,710 points
3,321 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,710 points
396 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,364 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,193 views
+1 vote
2 answers