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, 2019 in Big Data Hadoop by Disha
749 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, 2019 by Gitika
• 65,770 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, 2019 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,490 points
1,013 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: expor ...READ MORE

answered Oct 30, 2018 in Big Data Hadoop by Omkar
• 69,220 points
3,656 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 30, 2018 in Big Data Hadoop by Omkar
• 69,220 points
5,475 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
• 69,220 points
802 views
+2 votes
1 answer

windows 10 C:\Users\mk>hadoop -version output:- Error: Could not find or load main class P.

Hey, I guess the error you are facing ...READ MORE

answered May 10, 2019 in Big Data Hadoop by Gitika
• 65,770 points
2,556 views
+1 vote
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
• 11,380 points
11,035 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
• 11,380 points
2,544 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,866 views
–1 vote
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,350 points
4,617 views
+1 vote
2 answers

Hadoop: Error: Exception in thread “main” java.lang.UnsupportedClassVersionError: a

The reason for this error is because ...READ MORE

answered Aug 6, 2019 in Big Data Hadoop by Venkita
• 240 points
1,874 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP