Hi Hemanth;
Thanks for your grreat helps,
I am really much obliged to you.
I solved this problem by changing my java compiler vs. but now though I
changed everynodes configuration I am getting this error even I tried to
run example of wordcount without making any changes.
What may be the
Can you try this ? Pick a class like WordCount from your package and
execute this command:
javap -classpath path to your jar -verbose org.myorg.Wordcount | grep
version.
For e.g. here's what I get for my class:
$ javap -verbose WCMapper | grep version
minor version: 0
major version: 50
Hi everyone,
I know this is the common mistake to not specify the class adress while
trying to run a jar, however,
although I specified, I am still getting the ClassNotFound exception.
What may be the reason for it? I have been struggling for this problem more
than a 2 days.
I just wrote
Your point (4) explains the problem. The jar packed structure should
look like the below, and not how it is presently (one extra top level
dir is present):
META-INF/
META-INF/MANIFEST.MF
org/
org/myorg/
org/myorg/WordCount.class
org/myorg/WordCount$TokenizerMapper.class
Oops. I just noticed Hemanth has been answering on a dupe thread as
well. Lets drop this thread and carry on there :)
On Tue, Feb 19, 2013 at 11:14 PM, Harsh J ha...@cloudera.com wrote:
Hi,
The new error usually happens if you compile using Java 7 and try to
run via Java 6 (for example). That