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

[Solved] Hive installation error: java.net.URISyntaxException: Relative path in absolute URI

Install Android SDK in centOs

Installing arules package (Association Rules) in R