Hadoop - Class not found Exception with $ symbol

Error:
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.gamma.WordCount$Map

To solve this
Add:

job.setJarByClass(WordCount.class);

in main()

Popular posts from this blog

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?