Solution 1:From the error, it seems that you forgot to mark the main class while creating jar. Make sure that you mention the main class while creating jar and then export and run it.Solution 2:If you are not able to add the main class then while submitting the jar give the below commands.hadoop jar WC.jar className(for e.g. WordCount) /inputfile /output
Modified on: Wed, 6 Jul, 2016 at 12:31 PM
Did you find it helpful?Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.