Support Questions
Find answers, ask questions, and share your expertise

Error: Not a valid JAR

Error: Not a valid JAR

New Contributor

Hey,

 

I´m using the CDH version 5.10.0 and I´m trying to run wordcount.

When entering the path from my coursera-turorial, which is based on version 5.4.2, (hadoop jar /usr/jars/hadoop-examples.jar wordcount), I do get the error: Not a valid JAR. - Seems as if I have the wrong path.

 

Sorry for this low-level-question, but how can I figure out the right path? Is there a possibility to get an overview about the JARs and their paths?

 

Thanks!
Julian 

2 REPLIES 2

Re: Error: Not a valid JAR

New Contributor

I have the same problem. How have you solved it

Re: Error: Not a valid JAR

Master Guru
I haven't taken a look at how Coursera's environment is setup, but assuming
you are using CDH and are looking to build, run and understand simple MR
programs, read
https://www.cloudera.com/documentation/other/tutorial/CDH5/topics/ht_wordcount1.html