JAVA Error when I run MapReduce Program on CHD4


6 Answer(s)


Hi Ashok,

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 compatable version with your execution environment.

Hope this helps.

Thanks.

 


Hello Ashok,

I guess that you need to change the core library. Because you are run version cdh3 on cdh4 like Abhijit wrote. 


How do I make Jar Compatible to CHD4? Kindly advise.

ak


 

Team:

I have installaed eclispe for Java Dev IDE : Kepler Version Release 1

JRE 1.7 with JDK

Jar was for CDH3. Can you advise if I have correct versions of all the applications I need? 

your prompt attention is appreciated.

Best,

Ak

 


Hi Ashok,

Could you please share the same jar with me. I might be able to fix the jar for you.

Please also confirm, you are using Cloudera CDH-4.

You can attach the jar here as attachment. I look forward for your response.

Thanks.


Hello...

I'm using single node hadoop 2.72 and it's worked fine.

So, I attached the core file of cdh4. You can try it, but if you know the right version about the hadoop system you can direct download it from Cloudera Repository.

Hope it works.

Regards,

Juliano Muniz